mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-01-09 19:27:42 +01:00
Move shared library to /lib
Needed by binaries in /bin and /sbin.
This commit is contained in:
parent
37c5b9a2af
commit
d493e6cd98
8
Makefile
8
Makefile
@ -53,15 +53,15 @@ $(LIB_SHARED): $(LIB_SHARED_OBJS)
|
||||
-o $@ $^
|
||||
|
||||
install: libs
|
||||
mkdir -p $(DESTDIR)/usr/lib/
|
||||
mkdir -p $(DESTDIR)/usr/lib/ $(DESTDIR)/lib/
|
||||
mkdir -p $(DESTDIR)/usr/include/bsd/
|
||||
mkdir -p $(DESTDIR)/usr/share/man/man3
|
||||
install -m644 $(LIB_STATIC) $(DESTDIR)/usr/lib/
|
||||
install -m644 $(LIB_SHARED) $(DESTDIR)/usr/lib/
|
||||
install -m644 $(LIB_SHARED) $(DESTDIR)/lib/
|
||||
for i in $(LIB_INCLUDES) ; do install -m644 include/$$i $(DESTDIR)/usr/include/$$i ; done
|
||||
install -m644 $(LIB_MANS) $(DESTDIR)/usr/share/man/man3
|
||||
cd $(DESTDIR)/usr/lib/ ; ln -fs $(LIB_SHARED) $(LIB_SHARED_SO)
|
||||
cd $(DESTDIR)/usr/lib/ ; ln -fs $(LIB_SHARED) $(LIB_SONAME)
|
||||
ln -sf /lib/$(LIB_SHARED) $(DESTDIR)/usr/lib/$(LIB_SHARED_SO)
|
||||
ln -sf $(LIB_SHARED) $(DESTDIR)/lib/$(LIB_SONAME)
|
||||
|
||||
clean:
|
||||
rm -f $(LIB_STATIC_OBJS)
|
||||
|
Loading…
Reference in New Issue
Block a user