summaryrefslogtreecommitdiffstats
path: root/src/codec
diff options
context:
space:
mode:
authorAnatoly Orlov <anatolix@yandex.ru>2016-08-31 08:07:16 +0200
committerHarald Welte <laforge@gnumonks.org>2016-09-09 06:35:21 +0000
commit6320934e6a740c824f99769700937ed0477c67b3 (patch)
treefcda476c56f199d32c03e23de38b6abdf8fc399e /src/codec
parent418ca58085d81f7c5fd7a625549399b3c03ee8e3 (diff)
libosmocodec link fix on MacOSX
Fixes the following bug: CCLD libosmocodec.la Undefined symbols for architecture x86_64: "_bitvec_get_bit_pos", referenced from: _osmo_fr_check_sid in gsm610.o "_bitvec_get_uint", referenced from: _osmo_hr_check_sid in gsm620.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [libosmocodec.la] Error 1 Change-Id: Id7358b94e274b529a8da38a0b2ef8c892b6dd7a5
Diffstat (limited to 'src/codec')
-rw-r--r--src/codec/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/codec/Makefile.am b/src/codec/Makefile.am
index 619897f5..5c69c285 100644
--- a/src/codec/Makefile.am
+++ b/src/codec/Makefile.am
@@ -9,3 +9,4 @@ lib_LTLIBRARIES = libosmocodec.la
libosmocodec_la_SOURCES = gsm610.c gsm620.c gsm660.c gsm690.c
libosmocodec_la_LDFLAGS = -version-info $(LIBVERSION) -no-undefined
+libosmocodec_la_LIBADD = $(top_builddir)/src/libosmocore.la