mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-01-09 11:17:37 +01:00
Add versioned symbols support
This commit is contained in:
parent
07a58e79ab
commit
aa605d5f86
5
ChangeLog
Normal file
5
ChangeLog
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
2005-07-25 Guillem Jover <guillem@debian.org>
|
||||||
|
|
||||||
|
* Versions: New file.
|
||||||
|
* Makefile: Add versioned symbols support.
|
||||||
|
|
5
Makefile
5
Makefile
@ -43,7 +43,10 @@ $(LIB_SONAME): $(LIB_SHARED)
|
|||||||
ln -fs $^ $@
|
ln -fs $^ $@
|
||||||
|
|
||||||
$(LIB_SHARED): $(LIB_SHARED_OBJS)
|
$(LIB_SHARED): $(LIB_SHARED_OBJS)
|
||||||
gcc -shared -Wl,-soname -Wl,$(LIB_SONAME) -o $@ $^
|
gcc -shared \
|
||||||
|
-Wl,-soname -Wl,$(LIB_SONAME) \
|
||||||
|
-Wl,--version-script=Versions \
|
||||||
|
-o $@ $^
|
||||||
|
|
||||||
install: libs
|
install: libs
|
||||||
mkdir -p $(DESTDIR)/usr/lib/
|
mkdir -p $(DESTDIR)/usr/lib/
|
||||||
|
Loading…
Reference in New Issue
Block a user