summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/guile/Makefile.am
diff options
context:
space:
mode:
authorEric Blossom2010-12-10 16:12:04 -0800
committerEric Blossom2010-12-10 16:12:04 -0800
commit67c77e22564fbd9cf4543ff939495b3259b3818c (patch)
tree72217f6122e3b35406e4fd448aefacf227fef8b5 /gnuradio-core/src/guile/Makefile.am
parent74cbbd74dec5a1b976b5db028fe3aa4e20a899e3 (diff)
downloadgnuradio-67c77e22564fbd9cf4543ff939495b3259b3818c.tar.gz
gnuradio-67c77e22564fbd9cf4543ff939495b3259b3818c.tar.bz2
gnuradio-67c77e22564fbd9cf4543ff939495b3259b3818c.zip
Add new Guile gsubr that loads shared libraries using the equivalent of the RTLD_GLOBAL flag.
This is part of a work-around for swig bug: 1863647 http://sourceforge.net/tracker/index.php?func=detail&aid=1863647&group_id=1645&atid=101645
Diffstat (limited to 'gnuradio-core/src/guile/Makefile.am')
-rw-r--r--gnuradio-core/src/guile/Makefile.am10
1 files changed, 10 insertions, 0 deletions
diff --git a/gnuradio-core/src/guile/Makefile.am b/gnuradio-core/src/guile/Makefile.am
index 447500b46..b78225f4d 100644
--- a/gnuradio-core/src/guile/Makefile.am
+++ b/gnuradio-core/src/guile/Makefile.am
@@ -60,4 +60,14 @@ GUILE_TESTS = \
CLEANFILES = guile.log
+
+scmlibdir = $(libdir)
+scmdir = $(guiledir)
+
+scmlib_LTLIBRARIES = libguile-gnuradio-dynl-global.la
+
+libguile_gnuradio_dynl_global_la_SOURCES = dynl-global.c
+libguile_gnuradio_dynl_global_la_CPPFLAGS = $(GUILE_CFLAGS)
+libguile_gnuradio_dynl_global_la_LIBADD = $(GUILE_LIBS)
+
endif