build osmo-msc: add "missing" LIBASN1C_LIBS

in osmo-msc/Makefile.am, osmo-msc was actually missing the LIBASN1C_LIBS even
though it included LIBASN1C_CFLAGS. Probably libasn1c is implicitly linked from
libranap.so, but doesn't hurt to name it.

When building without Iu support, the LIBOSMORANAP* and LIBASN1C* vars are
empty, so no need to explicitly switch on BUILD_IU, just name them.

Change-Id: I39ae5e3f0f7661ca9ee5c17a500be28c461d7ec7
This commit is contained in:
Neels Hofmeyr 2018-03-15 18:00:28 +01:00 committed by Harald Welte
parent e0ef6d1e32
commit a10d79eab1
1 changed files with 2 additions and 6 deletions

View File

@ -43,15 +43,11 @@ osmo_msc_LDADD = \
$(LIBOSMOABIS_LIBS) \
$(LIBOSMONETIF_LIBS) \
$(LIBSMPP34_LIBS) \
$(LIBOSMORANAP_LIBS) \
$(LIBASN1C_LIBS) \
$(LIBOSMOSIGTRAN_LIBS) \
$(LIBOSMOMGCPCLIENT_LIBS) \
$(LIBOSMOGSUPCLIENT_LIBS) \
-ldbi \
-lsctp \
$(NULL)
if BUILD_IU
osmo_msc_LDADD += \
$(LIBASN1C_LIBS) \
$(LIBOSMORANAP_LIBS) \
$(NULL)
endif