summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2015-08-13 06:48:17 +0100
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2015-08-13 06:48:17 +0100
commit023b0186f02279e772207aa66848c543e6c3538e (patch)
treeae48a2919988c01c5e738b3395c7ff2e4fffca9f
parentc0bee5bf183127b7b2b26950c9269106aaefbed1 (diff)
downloadswig-023b0186f02279e772207aa66848c543e6c3538e.tar.gz
Fix R out-of-source build examples
-rw-r--r--Examples/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Examples/Makefile.in b/Examples/Makefile.in
index 6ba9dac12..94f7c63b9 100644
--- a/Examples/Makefile.in
+++ b/Examples/Makefile.in
@@ -1651,7 +1651,7 @@ R = R
RCXXSRCS = $(INTERFACE:.i=_wrap.cpp) #Need to use _wrap.cpp for R build system as it does not understand _wrap.cxx
RRSRC = $(INTERFACE:.i=.R)
R_CFLAGS=-fPIC
-R_SCRIPT=$(RUNME).R
+R_SCRIPT=$(SRCDIR)$(RUNME).R
# need to compile .cxx files outside of R build system to make sure that
# we get -fPIC