From 97565bb8a7ca56fd27768971adc75c3202fec0fc Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Mon, 28 Apr 2003 22:57:26 +0000 Subject: [PATCH] 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 --- Examples/perl5/import/Makefile | 3 +-- Examples/python/import/Makefile | 3 +-- Examples/python/import_template/Makefile | 3 +-- Examples/ruby/import/Makefile | 3 +-- Examples/tcl/import/Makefile | 3 +-- 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)' \