osmo-msc: Don't link against libasn1c

osmo-msc doesn't use any API/symbols of libasn1c directlry.  Rather,
we use libosmo-ranap which in turn uses libasn1c.  Let the linker
work out that dependency.

This fixes the following dpkg-shlibdeps warning:

Change-Id: I2f840884d8f1cc542de1e26acd3d4215bd2fd899
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/osmo-msc/usr/bin/osmo-msc was not linked against libasn1c.so.0 (it uses none of the library's symbols)
changes/22/4522/3
Harald Welte 5 years ago
parent bde463d781
commit 8f042b9000
  1. 1
      src/osmo-msc/Makefile.am
  2. 1
      tests/msc_vlr/Makefile.am
  3. 1
      tests/sms_queue/Makefile.am

@ -51,6 +51,5 @@ osmo_msc_LDADD = \
if BUILD_IU
osmo_msc_LDADD += \
$(LIBOSMORANAP_LIBS) \
$(LIBASN1C_LIBS) \
$(NULL)
endif

@ -43,7 +43,6 @@ AM_LDFLAGS = \
$(LIBOSMOABIS_LIBS) \
$(LIBOSMOSIGTRAN_LIBS) \
$(LIBOSMORANAP_LIBS) \
$(LIBASN1C_LIBS) \
$(LIBOSMOMGCPCLIENT_LIBS) \
$(LIBRARY_GSM) \
-ldbi \

@ -43,7 +43,6 @@ sms_queue_test_LDADD = \
$(LIBOSMOABIS_LIBS) \
$(LIBOSMOSIGTRAN_LIBS) \
$(LIBOSMORANAP_LIBS) \
$(LIBASN1C_LIBS) \
$(LIBOSMOMGCPCLIENT_LIBS) \
$(LIBRARY_GSM) \
-ldbi \

Loading…
Cancel
Save