[glom] Explicitly link with libdl for Python module loading test
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glom] Explicitly link with libdl for Python module loading test
- Date: Mon, 21 Jun 2010 18:06:42 +0000 (UTC)
commit 1f89cbe3bbf3de5f7edf9ceb42d0d93386bc7815
Author: David King <amigadave amigadave com>
Date: Mon Jun 21 20:05:11 2010 +0200
Explicitly link with libdl for Python module loading test
* Makefile_tests.am: Do not rely on libdl being a dependency of a
library in LIBGLOM_LIBS, by linking with it explicitly.
ChangeLog | 7 +++++++
Makefile_tests.am | 2 +-
2 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 0282211..6d9bcd2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-06-21 David King <amigadave amigadave com>
+
+ Explicitly link with libdl for Python module loading test
+
+ * Makefile_tests.am: Do not rely on libdl being a dependency of a
+ library in LIBGLOM_LIBS, by linking with it explicitly.
+
2010-06-20 Murray Cumming <murrayc murrayc com>
libglom: ConnectionPool: Simplify code.
diff --git a/Makefile_tests.am b/Makefile_tests.am
index 3fbe5fd..abce977 100644
--- a/Makefile_tests.am
+++ b/Makefile_tests.am
@@ -145,7 +145,7 @@ tests_test_parsing_time_LDADD = $(tests_ldadd)
tests_test_document_load_LDADD = $(tests_ldadd) $(LIBGLOM_LIBS)
tests_test_document_autosave_LDADD = $(tests_ldadd) $(LIBGLOM_LIBS)
tests_test_signal_reemit_LDADD = $(LIBGLOM_LIBS)
-tests_test_load_python_library_LDADD = $(LIBGLOM_LIBS)
+tests_test_load_python_library_LDADD = $(LIBGLOM_LIBS) -ldl
tests_test_python_module_LDADD = $(tests_ldadd) $(PYTHON_LIBS)
tests_test_python_execute_func_LDADD = $(tests_ldadd) $(GLOM_LIBS) $(PYTHON_LIBS)
tests_test_python_execute_func_bad_syntax_LDADD = $(tests_ldadd) $(GLOM_LIBS) $(PYTHON_LIBS)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]