aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorEric <ewild@sysmocom.de>2020-04-11 01:04:08 +0200
committerEric <ewild@sysmocom.de>2020-04-11 01:04:08 +0200
commit6528e8c1cb3fbf2c3ca99fc6e0391026e92b5cdb (patch)
tree9bdd08f27ce6117794eeb7c196abf257fcc09c0d /configure.ac
parent6e4cd085b52819f511dd6d11870b09a358c03a0b (diff)
tests: dlopen does not imply availability of dlsym..
Check for both. Change-Id: If41a20bf499f791432f5f207e40688e97fb6e9f7
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 644a0bd5..6aab8d78 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)