aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2003-04-28 22:57:26 +0000
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2003-04-28 22:57:26 +0000
commit97565bb8a7ca56fd27768971adc75c3202fec0fc (patch)
tree6a4c72495731e7994dedfda832a61fd52b37ebd2
parent9e072243694c09c298332625544e2aaf732a1234 (diff)
downloadswig-97565bb8a7ca56fd27768971adc75c3202fec0fc.tar.gz
Fixes the runtime library examples to link with the runtime library. Required for Cygwin.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4734 626c5289-ae23-0410-ae9c-e8d60b6d4f22
-rw-r--r--Examples/perl5/import/Makefile3
-rw-r--r--Examples/python/import/Makefile3
-rw-r--r--Examples/python/import_template/Makefile3
-rw-r--r--Examples/ruby/import/Makefile3
-rw-r--r--Examples/tcl/import/Makefile3
5 files changed, 5 insertions, 10 deletions
diff --git a/Examples/perl5/import/Makefile b/Examples/perl5/import/Makefile
index fb66eb38e..505fbc7c1 100644
--- a/Examples/perl5/import/Makefile
+++ b/Examples/perl5/import/Makefile
@@ -1,8 +1,7 @@
TOP = ../..
SWIG = $(TOP)/../swig
SWIGOPT = -c -shadow
-#If your system requires linking with the runtime libraries then set the directory location here
-RUNTIMEDIR =
+RUNTIMEDIR = $(TOP)/../Runtime/.libs
all::
$(MAKE) -f $(TOP)/Makefile SWIG='$(SWIG)' SWIGOPT='$(SWIGOPT)' \
diff --git a/Examples/python/import/Makefile b/Examples/python/import/Makefile
index 780c87e88..8a643dfa2 100644
--- a/Examples/python/import/Makefile
+++ b/Examples/python/import/Makefile
@@ -1,8 +1,7 @@
TOP = ../..
SWIG = $(TOP)/../swig
SWIGOPT = -c
-#If your system requires linking with the runtime libraries then set the directory location here
-RUNTIMEDIR =
+RUNTIMEDIR = $(TOP)/../Runtime/.libs
all::
$(MAKE) -f $(TOP)/Makefile SWIG='$(SWIG)' SWIGOPT='$(SWIGOPT)' \
diff --git a/Examples/python/import_template/Makefile b/Examples/python/import_template/Makefile
index 780c87e88..8a643dfa2 100644
--- a/Examples/python/import_template/Makefile
+++ b/Examples/python/import_template/Makefile
@@ -1,8 +1,7 @@
TOP = ../..
SWIG = $(TOP)/../swig
SWIGOPT = -c
-#If your system requires linking with the runtime libraries then set the directory location here
-RUNTIMEDIR =
+RUNTIMEDIR = $(TOP)/../Runtime/.libs
all::
$(MAKE) -f $(TOP)/Makefile SWIG='$(SWIG)' SWIGOPT='$(SWIGOPT)' \
diff --git a/Examples/ruby/import/Makefile b/Examples/ruby/import/Makefile
index 68151eba1..5a6596157 100644
--- a/Examples/ruby/import/Makefile
+++ b/Examples/ruby/import/Makefile
@@ -1,8 +1,7 @@
TOP = ../..
SWIG = $(TOP)/../swig
SWIGOPT = -c
-#If your system requires linking with the runtime libraries then set the directory location here
-RUNTIMEDIR = /usr/local/lib
+RUNTIMEDIR = $(TOP)/../Runtime/.libs
all::
$(MAKE) -f $(TOP)/Makefile SWIG='$(SWIG)' SWIGOPT='$(SWIGOPT)' \
diff --git a/Examples/tcl/import/Makefile b/Examples/tcl/import/Makefile
index b0c0a8f0e..3777d20b4 100644
--- a/Examples/tcl/import/Makefile
+++ b/Examples/tcl/import/Makefile
@@ -1,8 +1,7 @@
TOP = ../..
SWIG = $(TOP)/../swig
SWIGOPT = -c
-#If your system requires linking with the runtime libraries then set the directory location here
-RUNTIMEDIR =
+RUNTIMEDIR = $(TOP)/../Runtime/.libs
all::
$(MAKE) -f $(TOP)/Makefile SWIG='$(SWIG)' SWIGOPT='$(SWIGOPT)' \