Fix root user detection
This commit is contained in:
parent
f3f507d39c
commit
0ce51e7d42
2
Makefile
2
Makefile
@ -132,7 +132,7 @@ ifeq ($(UNAME_S),Darwin)
|
|||||||
cd $(LIBDIR) && ln -sf $(REALNAME) $(SONAME)
|
cd $(LIBDIR) && ln -sf $(REALNAME) $(SONAME)
|
||||||
endif
|
endif
|
||||||
ifeq ($(UNAME_S),Linux)
|
ifeq ($(UNAME_S),Linux)
|
||||||
ifeq ($(UID), 0)
|
ifeq ($(USER), root)
|
||||||
ldconfig
|
ldconfig
|
||||||
else
|
else
|
||||||
cd $(LIBDIR) && ln -sf $(REALNAME) $(SONAME)
|
cd $(LIBDIR) && ln -sf $(REALNAME) $(SONAME)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user