aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/ipaccess
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/ipaccess
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/ipaccess')
-rw-r--r--openbsc/src/ipaccess/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/ipaccess/Makefile.am b/openbsc/src/ipaccess/Makefile.am
index 308215b5d..ad92e1530 100644
--- a/openbsc/src/ipaccess/Makefile.am
+++ b/openbsc/src/ipaccess/Makefile.am
@@ -21,7 +21,7 @@ ipaccess_config_LDADD = $(top_builddir)/src/libbsc/libbsc.a \
$(top_builddir)/src/libbsc/libbsc.a \
$(top_builddir)/src/libtrau/libtrau.a \
$(top_builddir)/src/libcommon/libcommon.a \
- -ldl -ldbi $(LIBCRYPT) $(OSMO_LIBS)
+ $(LIBRARY_DL) -ldbi $(LIBCRYPT) $(OSMO_LIBS)
ipaccess_proxy_SOURCES = ipaccess-proxy.c
ipaccess_proxy_LDADD = $(top_builddir)/src/libbsc/libbsc.a \