mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-01-08 11:02:24 +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 $^ $@
|
||||
|
||||
$(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
|
||||
mkdir -p $(DESTDIR)/usr/lib/
|
||||
|
Loading…
Reference in New Issue
Block a user