laforge has submitted this change. ( https://gerrit.osmocom.org/c/gapk/+/31858 )
Change subject: src/Makefile.am: there shall be no libraries in LDFLAGS ......................................................................
src/Makefile.am: there shall be no libraries in LDFLAGS
AM_LDFLAGS is for linker flags like '-no-undefined', not libraries!
Change-Id: I7620e0c4e6444081e351e1dd021e0a8e2ae20337 --- M src/Makefile.am 1 file changed, 16 insertions(+), 5 deletions(-)
Approvals: Jenkins Builder: Verified pespin: Looks good to me, but someone else must approve laforge: Looks good to me, approved
diff --git a/src/Makefile.am b/src/Makefile.am index 8fdeff7..9cbe492 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -20,12 +20,15 @@ lib_LTLIBRARIES = libosmogapk.la EXTRA_DIST = libosmogapk.map
-libosmogapk_la_LDFLAGS = \ +libosmogapk_la_LIBADD = \ $(LIBOSMOCORE_LIBS) \ $(LIBOSMOCODEC_LIBS) \ ${OPENCORE_AMRNB_LIBS} \ ${LIBGSM_LIBS} \ $(LIBALSA_LIBS) \ + $(NULL) + +libosmogapk_la_LDFLAGS = \ $(LTLDFLAGS_OSMOGAPK) \ -version-info $(LIBVERSION) \ -no-undefined \ @@ -94,10 +97,7 @@ app_osmo_gapk.c \ $(NULL)
-osmo_gapk_LDFLAGS = \ - $(LIBOSMOCORE_LIBS) \ - $(NULL) - osmo_gapk_LDADD = \ libosmogapk.la \ + $(LIBOSMOCORE_LIBS) \ $(NULL)