diff --git a/Makefile b/Makefile index 0b8c646..a049117 100644 --- a/Makefile +++ b/Makefile @@ -132,7 +132,7 @@ ifeq ($(UNAME_S),Darwin) cd $(LIBDIR) && ln -sf $(REALNAME) $(SONAME) endif ifeq ($(UNAME_S),Linux) -ifeq ($(UID), 0) +ifeq ($(USER), root) ldconfig else cd $(LIBDIR) && ln -sf $(REALNAME) $(SONAME)