Fix root user detection

This commit is contained in:
Bob Polis 2024-09-26 15:14:04 +02:00
parent 7b168b4016
commit 5d87e47acd

View File

@ -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)