summaryrefslogtreecommitdiffstats
path: root/openbsc/src/osmo-nitb
diff options
context:
space:
mode:
authorNikola <koue@chaosophia.net>2013-12-12 18:00:14 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-12-13 10:18:19 +0100
commit876b55af33b4128802f8354be271f99643fa2b95 (patch)
treee5c3469b0f43095467a5734efaa8d6f1f079343b /openbsc/src/osmo-nitb
parent27a788ddb95b6bf4e2f343eed1070f6116515e99 (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/src/osmo-nitb')
-rw-r--r--openbsc/src/osmo-nitb/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/osmo-nitb/Makefile.am b/openbsc/src/osmo-nitb/Makefile.am
index ce2f25d27..53a1b4006 100644
--- a/openbsc/src/osmo-nitb/Makefile.am
+++ b/openbsc/src/osmo-nitb/Makefile.am
@@ -15,6 +15,6 @@ osmo_nitb_LDADD = \
$(top_builddir)/src/libtrau/libtrau.a \
$(top_builddir)/src/libctrl/libctrl.a \
$(top_builddir)/src/libcommon/libcommon.a \
- -ldbi -ldl $(LIBCRYPT) \
+ -ldbi $(LIBRARY_DL) $(LIBCRYPT) \
$(LIBOSMOGSM_LIBS) $(LIBOSMOVTY_LIBS) $(LIBOSMOCORE_LIBS) \
$(LIBOSMOABIS_LIBS) $(LIBSMPP34_LIBS)