Change in osmo-sgsn[master]: tests: dlopen does not imply availability of dlsym..

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Hoernchen gerrit-no-reply at lists.osmocom.org
Fri Apr 10 23:04:50 UTC 2020


Hoernchen has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-sgsn/+/17787 )


Change subject: tests: dlopen does not imply availability of dlsym..
......................................................................

tests: dlopen does not imply availability of dlsym..

Check for both.

Change-Id: If41a20bf499f791432f5f207e40688e97fb6e9f7
---
M configure.ac
M tests/gbproxy/Makefile.am
2 files changed, 4 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-sgsn refs/changes/87/17787/1

diff --git a/configure.ac b/configure.ac
index 644a0bd..6aab8d7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -38,6 +38,9 @@
 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 cb245b4..b9585ac 100644
--- a/tests/gbproxy/Makefile.am
+++ b/tests/gbproxy/Makefile.am
@@ -46,5 +46,6 @@
 	$(LIBOSMOVTY_LIBS) \
 	$(LIBOSMOABIS_LIBS) \
 	$(LIBRARY_DL) \
+	$(LIBRARY_DLSYM) \
 	-lrt \
 	$(NULL)

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-sgsn/+/17787
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-sgsn
Gerrit-Branch: master
Gerrit-Change-Id: If41a20bf499f791432f5f207e40688e97fb6e9f7
Gerrit-Change-Number: 17787
Gerrit-PatchSet: 1
Gerrit-Owner: Hoernchen <ewild at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200410/6ab18469/attachment.htm>


More information about the gerrit-log mailing list