summaryrefslogtreecommitdiff
path: root/Makefile.swig
diff options
context:
space:
mode:
authorRob Savoye2010-10-18 12:48:18 -0600
committerEric Blossom2010-11-10 12:10:45 -0800
commit52b42834dc68cd76dd7ff7e64f73043d6ae6ad46 (patch)
tree35e24c5e4d8b83eb82623269eb041353e299ffba /Makefile.swig
parent08860508f2d28a439fee8242cbf96e3867486af2 (diff)
downloadgnuradio-52b42834dc68cd76dd7ff7e64f73043d6ae6ad46.tar.gz
gnuradio-52b42834dc68cd76dd7ff7e64f73043d6ae6ad46.tar.bz2
gnuradio-52b42834dc68cd76dd7ff7e64f73043d6ae6ad46.zip
use simple linkage instead of passive for guile so SWIG_init gets defined
Diffstat (limited to 'Makefile.swig')
-rw-r--r--Makefile.swig8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile.swig b/Makefile.swig
index 7c4dea1c4..e238093a2 100644
--- a/Makefile.swig
+++ b/Makefile.swig
@@ -48,10 +48,11 @@ STD_SWIG_PYTHON_ARGS = \
$(WITH_SWIG_INCLUDES) \
$(WITH_INCLUDES)
+# NOTE: -Linkage passive and -Linkage module don't define SWIG_init()
SWIG_GUILE_FLAGS = \
-guile \
-scm \
- -Linkage passive \
+ -scmstub \
-outdir .
## standard swig flags used by most components
@@ -72,8 +73,7 @@ STD_SWIG_LA_LD_FLAGS = \
## standard SWIG library additions for library creation
-STD_SWIG_LA_LIB_ADD = \
- -lstdc++
+STD_SWIG_LA_LIB_ADD = -lstdc++
## standard SWIG CXXFLAGS
## This allows for code to be compiled with "-O1" instead of "-g -O2"
@@ -83,7 +83,7 @@ STD_SWIG_CXX_FLAGS = @swig_CXXFLAGS@
## SWIG suffix for automake to know about
-SUFFIXES = .i
+SUFFIXES = .i .cc .scm
## Create $(srcdir)/Makefile.swig.gen, containing all of the rules
## for running SWIG to generate or re-generate outputs. SWIG file