[glom/glom-1-14] Explicitly link with libdl for Python module loading test



commit 3addd5249dfb9966735c78a64bd05229525ef7a3
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 28ec2a4..5b6f9bd 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.
+
 1.14.3:
 
 2010-06-19  Murray Cumming  <murrayc murrayc com>
diff --git a/Makefile_tests.am b/Makefile_tests.am
index 08a1568..fe33902 100644
--- a/Makefile_tests.am
+++ b/Makefile_tests.am
@@ -142,7 +142,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]