diff options
-rw-r--r-- | configure.ac | 3 | ||||
-rw-r--r-- | tests/gbproxy/Makefile.am | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 644a0bd53..6aab8d786 100644 --- a/configure.ac +++ b/configure.ac @@ -38,6 +38,9 @@ dnl checks for libraries AC_SEARCH_LIBS([dlopen], [dl dld], [LIBRARY_DL="$LIBS";LIBS=""]) AC_SUBST(LIBRARY_DL) +AC_SEARCH_LIBS([dlsym], [dl dld], [LIBRARY_DLSYM="$LIBS";LIBS=""]) +AC_SUBST(LIBRARY_DLSYM) + PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 1.2.0) PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 1.2.0) diff --git a/tests/gbproxy/Makefile.am b/tests/gbproxy/Makefile.am index cb245b4cd..b9585acc8 100644 --- a/tests/gbproxy/Makefile.am +++ b/tests/gbproxy/Makefile.am @@ -46,5 +46,6 @@ gbproxy_test_LDADD = \ $(LIBOSMOVTY_LIBS) \ $(LIBOSMOABIS_LIBS) \ $(LIBRARY_DL) \ + $(LIBRARY_DLSYM) \ -lrt \ $(NULL) |