diff options
author | Nikola <koue@chaosophia.net> | 2013-12-12 18:00:14 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-12-13 10:18:19 +0100 |
commit | 876b55af33b4128802f8354be271f99643fa2b95 (patch) | |
tree | e5c3469b0f43095467a5734efaa8d6f1f079343b /openbsc/tests/channel | |
parent | 27a788ddb95b6bf4e2f343eed1070f6116515e99 (diff) |
freebsd: dlopen/dlsym/dlerror is part of libc, use LIBRARY_DL for linking
In FreeBSD there is no spearate library for dlopen, dlsym and dlerror.
Use LIBRARY_DL to check for this condition.
Diffstat (limited to 'openbsc/tests/channel')
-rw-r--r-- | openbsc/tests/channel/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/tests/channel/Makefile.am b/openbsc/tests/channel/Makefile.am index 89f015a8a..8e5cb3ec0 100644 --- a/openbsc/tests/channel/Makefile.am +++ b/openbsc/tests/channel/Makefile.am @@ -6,7 +6,7 @@ EXTRA_DIST = channel_test.ok noinst_PROGRAMS = channel_test channel_test_SOURCES = channel_test.c -channel_test_LDADD = -ldl $(LIBOSMOCORE_LIBS) \ +channel_test_LDADD = $(LIBRARY_DL) $(LIBOSMOCORE_LIBS) \ $(top_builddir)/src/libcommon/libcommon.a \ $(top_builddir)/src/libbsc/libbsc.a \ $(top_builddir)/src/libmsc/libmsc.a -ldbi $(LIBOSMOGSM_LIBS) |