libosmo-legacy-mgcp: fix link against libgsm

libosmo-legacy-mgcp was not linked against libgsm
when built with --enable-mgcp-transcoding.
When afterwards a binary such as osmo-bsc is built and
tries to link against it, it will fail with an error
like the one below:
/home/pespin/dev/sysmocom/bin/../build/new/out/lib/libosmo-legacy-mgcp.so: undefined reference to `gsm_create'

Tested that building with this patch fixes the issue.
Also tested that it still builds fine without --enable-mgcp-transcoding.

Change-Id: I5ed356ac0c8f476e263fc6dcc5613d594890dfcd
This commit is contained in:
Pau Espin 2017-09-26 13:44:31 +02:00
parent 9d4f1d57f3
commit 1c8d67d7f5
1 changed files with 1 additions and 0 deletions

View File

@ -19,6 +19,7 @@ AM_LDFLAGS = \
$(LIBOSMONETIF_LIBS) \
$(COVERAGE_LDFLAGS) \
$(LIBBCG729_LIBS) \
$(LIBRARY_GSM) \
$(NULL)
# This is not at all related to the release version, but a range of supported