From 3f450c430f7a20328aa6b4f2c568725fbab5df14 Mon Sep 17 00:00:00 2001 From: Bob Polis Date: Thu, 26 Sep 2024 15:15:18 +0200 Subject: [PATCH] Fix root user detection --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1e09687..ff367fe 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)