summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2010-12-07 20:45:29 +0100
committerLudovic Courtès <ludo@gnu.org>2010-12-07 23:13:19 +0100
commitcb26e97a88e90d04e6d4efe3de0de92dea53d1e5 (patch)
tree71c0c6a474e37c6357b3b50ac3aa49483ce20c29
parenta94469c651ae096b84c9b6389b8278113da00100 (diff)
downloadguile-cb26e97a88e90d04e6d4efe3de0de92dea53d1e5.tar.gz
Build dlopenable modules with `-module'.
* test-suite/standalone/Makefile.am (libtest_asmobs_la_LDFLAGS, libtest_ffi_la_LDFLAGS, libtest_extensions_la_LDFLAGS): Add `-module'.
-rw-r--r--test-suite/standalone/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/test-suite/standalone/Makefile.am b/test-suite/standalone/Makefile.am
index 3fa954021..e3b5a3888 100644
--- a/test-suite/standalone/Makefile.am
+++ b/test-suite/standalone/Makefile.am
@@ -82,7 +82,7 @@ TESTS += test-round
noinst_LTLIBRARIES += libtest-asmobs.la
libtest_asmobs_la_SOURCES = test-asmobs-lib.c
libtest_asmobs_la_CFLAGS = ${test_cflags}
-libtest_asmobs_la_LDFLAGS = -no-undefined -rpath `pwd` # so libtool will really build an .so
+libtest_asmobs_la_LDFLAGS = -module -no-undefined -rpath `pwd` # so libtool will really build an .so
libtest_asmobs_la_LIBADD = ${top_builddir}/libguile/libguile-@GUILE_EFFECTIVE_VERSION@.la
BUILT_SOURCES += test-asmobs-lib.x
check_SCRIPTS += test-asmobs
@@ -92,7 +92,7 @@ TESTS += test-asmobs
noinst_LTLIBRARIES += libtest-ffi.la
libtest_ffi_la_SOURCES = test-ffi-lib.c
libtest_ffi_la_CFLAGS = ${test_cflags}
-libtest_ffi_la_LDFLAGS = -no-undefined -rpath `pwd` # so libtool will really build an .so
+libtest_ffi_la_LDFLAGS = -module -no-undefined -rpath `pwd` # so libtool will really build an .so
libtest_ffi_la_LIBADD = ${top_builddir}/libguile/libguile-@GUILE_EFFECTIVE_VERSION@.la
check_SCRIPTS += test-ffi
TESTS += test-ffi
@@ -158,7 +158,7 @@ TESTS += test-scm-take-u8vector
noinst_LTLIBRARIES += libtest-extensions.la
libtest_extensions_la_SOURCES = test-extensions-lib.c
libtest_extensions_la_CFLAGS = ${test_cflags}
-libtest_extensions_la_LDFLAGS = -no-undefined -rpath `pwd` # so libtool will really build an .so
+libtest_extensions_la_LDFLAGS = -module -no-undefined -rpath `pwd` # so libtool will really build an .so
libtest_extensions_la_LIBADD = ${top_builddir}/libguile/libguile-@GUILE_EFFECTIVE_VERSION@.la
check_SCRIPTS += test-extensions
TESTS += test-extensions