Add support for non-root installs
This commit is contained in:
parent
0e169a1dc4
commit
435a67dcef
4
Makefile
4
Makefile
@ -132,7 +132,11 @@ 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)
|
||||||
ldconfig
|
ldconfig
|
||||||
|
else
|
||||||
|
cd $(LIBDIR) && ln -sf $(REALNAME) $(SONAME)
|
||||||
|
endif
|
||||||
cd $(LIBDIR) && ln -sf $(SONAME) $(LINKERNAME)
|
cd $(LIBDIR) && ln -sf $(SONAME) $(LINKERNAME)
|
||||||
endif
|
endif
|
||||||
ifeq ($(UNAME_S),OpenBSD)
|
ifeq ($(UNAME_S),OpenBSD)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user