diff options
author | Ian Lance Taylor <iant@google.com> | 2013-12-16 19:50:17 -0800 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2013-12-16 19:50:17 -0800 |
commit | 1dca0af0241475c11a842e4dd4c16ff7b367a962 (patch) | |
tree | c16b5ff43d5e2918d52e8557325ea53b79807086 /Examples/go/callback | |
parent | 39bf2efdc980f800219cb488c24eef3ef6be5c5c (diff) | |
download | swig-1dca0af0241475c11a842e4dd4c16ff7b367a962.tar.gz |
Update for Go 1.2 release. Add support for linking SWIG code directly
into executable, rather than using a shared library.
Diffstat (limited to 'Examples/go/callback')
-rw-r--r-- | Examples/go/callback/Makefile | 4 | ||||
-rw-r--r-- | Examples/go/callback/callback.cxx (renamed from Examples/go/callback/example.cxx) | 0 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Examples/go/callback/Makefile b/Examples/go/callback/Makefile index 7489f87dc..4516d2674 100644 --- a/Examples/go/callback/Makefile +++ b/Examples/go/callback/Makefile @@ -1,12 +1,12 @@ TOP = ../.. SWIG = $(TOP)/../preinst-swig -CXXSRCS = example.cxx +CXXSRCS = callback.cxx TARGET = example INTERFACE = example.i SWIGOPT = check: build - $(MAKE) -f $(TOP)/Makefile TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' go_run + $(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' go_run_cpp build: $(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \ diff --git a/Examples/go/callback/example.cxx b/Examples/go/callback/callback.cxx index 450d75608..450d75608 100644 --- a/Examples/go/callback/example.cxx +++ b/Examples/go/callback/callback.cxx |