Fix root user detection

This commit is contained in:
Bob Polis 2024-09-26 15:14:25 +02:00
parent 93874de922
commit 9c87c0079a

View File

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