mirror of https://gerrit.osmocom.org/libosmocore
fr: Fix the linking of the test and use $(LIBRARY_DL) for linking
On Ubuntu 13.04 the build was failing on the OBS with: /usr/bin/ld: fr_test.o: undefined reference to symbol 'dlsym@@GLIBC_2.2.5' /usr/bin/ld: note: 'dlsym@@GLIBC_2.2.5' is defined in DSO /lib/x86_64-linux-gnu/libdl.so.2 so try adding it to the linker command line /lib/x86_64-linux-gnu/libdl.so.2: could not read symbols: Invalid operation collect2: error: ld returned 1 exit status
This commit is contained in:
parent
3cc268c8da
commit
14df1c07ec
|
@ -54,7 +54,7 @@ logging_logging_test_SOURCES = logging/logging_test.c
|
|||
logging_logging_test_LDADD = $(top_builddir)/src/libosmocore.la
|
||||
|
||||
fr_fr_test_SOURCES = fr/fr_test.c
|
||||
fr_fr_test_LDADD = $(top_builddir)/src/libosmocore.la $(top_builddir)/src/gb/libosmogb.la
|
||||
fr_fr_test_LDADD = $(top_builddir)/src/libosmocore.la $(top_builddir)/src/gb/libosmogb.la $(LIBRARY_DL)
|
||||
|
||||
loggingrb_loggingrb_test_SOURCES = logging/logging_test.c
|
||||
loggingrb_loggingrb_test_LDADD = $(top_builddir)/src/libosmocore.la $(top_builddir)/src/vty/libosmovty.la
|
||||
|
|
Loading…
Reference in New Issue