From 6320934e6a740c824f99769700937ed0477c67b3 Mon Sep 17 00:00:00 2001 From: Anatoly Orlov Date: Wed, 31 Aug 2016 08:07:16 +0200 Subject: 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 --- src/codec/Makefile.am | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3