fixeria has uploaded this change for review. (
https://gerrit.osmocom.org/c/libosmo-abis/+/28921 )
Change subject: libosmo{abis,trau}: add -no-undefined to *_la_LDFLAGS
......................................................................
libosmo{abis,trau}: add -no-undefined to *_la_LDFLAGS
Make sure that there is no undefined references in shared libraries.
Change-Id: Ib03f939d532173d9e4fcfdf5476c458a21c2c665
---
M src/Makefile.am
1 file changed, 8 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-abis refs/changes/21/28921/1
diff --git a/src/Makefile.am b/src/Makefile.am
index 1404982..cf8de47 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -11,7 +11,10 @@
lib_LTLIBRARIES = libosmoabis.la libosmotrau.la
-libosmoabis_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(ABIS_LIBVERSION)
+libosmoabis_la_LDFLAGS = $(AM_LDFLAGS) \
+ -version-info $(ABIS_LIBVERSION) \
+ -no-undefined \
+ $(NULL)
libosmoabis_la_LIBADD = $(COMMONLIBS)
libosmoabis_la_SOURCES = init.c \
e1_input.c \
@@ -33,7 +36,10 @@
endif
libosmotrau_la_CFLAGS = $(AM_CFLAGS) $(ORTP_CFLAGS)
-libosmotrau_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(TRAU_LIBVERSION)
+libosmotrau_la_LDFLAGS = $(AM_LDFLAGS) \
+ -version-info $(TRAU_LIBVERSION) \
+ -no-undefined \
+ $(NULL)
libosmotrau_la_LIBADD = $(COMMONLIBS) $(ORTP_LIBS)
libosmotrau_la_SOURCES = trau/osmo_ortp.c \
trau/trau_frame.c \
--
To view, visit
https://gerrit.osmocom.org/c/libosmo-abis/+/28921
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Change-Id: Ib03f939d532173d9e4fcfdf5476c458a21c2c665
Gerrit-Change-Number: 28921
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: newchange