Add support for non-root installs
This commit is contained in:
parent
b0e415c665
commit
d020ec7e81
4
Makefile
4
Makefile
@ -132,7 +132,11 @@ ifeq ($(UNAME_S),Darwin)
|
||||
cd $(LIBDIR) && ln -sf $(REALNAME) $(SONAME)
|
||||
endif
|
||||
ifeq ($(UNAME_S),Linux)
|
||||
ifeq ($(UID), 0)
|
||||
ldconfig
|
||||
else
|
||||
cd $(LIBDIR) && ln -sf $(REALNAME) $(SONAME)
|
||||
endif
|
||||
cd $(LIBDIR) && ln -sf $(SONAME) $(LINKERNAME)
|
||||
endif
|
||||
ifeq ($(UNAME_S),OpenBSD)
|
||||
|
Loading…
x
Reference in New Issue
Block a user