From 876b55af33b4128802f8354be271f99643fa2b95 Mon Sep 17 00:00:00 2001 From: Nikola Date: Thu, 12 Dec 2013 18:00:14 +0100 Subject: 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. --- openbsc/tests/db/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbsc/tests/db') diff --git a/openbsc/tests/db/Makefile.am b/openbsc/tests/db/Makefile.am index 6f735d04b..e24cc90d1 100644 --- a/openbsc/tests/db/Makefile.am +++ b/openbsc/tests/db/Makefile.am @@ -13,5 +13,5 @@ db_test_LDADD = $(top_builddir)/src/libbsc/libbsc.a \ $(top_builddir)/src/libtrau/libtrau.a \ $(top_builddir)/src/libcommon/libcommon.a \ $(LIBOSMOCORE_LIBS) $(LIBOSMOABIS_LIBS) \ - $(LIBOSMOGSM_LIBS) $(LIBSMPP34_LIBS) $(LIBOSMOVTY_LIBS) -ldl -ldbi + $(LIBOSMOGSM_LIBS) $(LIBSMPP34_LIBS) $(LIBOSMOVTY_LIBS) $(LIBRARY_DL) -ldbi -- cgit v1.2.3