File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -167,6 +167,7 @@ PKG_CFLAGS = @PKG_CFLAGS@
167167# compiled with.
168168# DEFS = $(TCL_DEFS) @DEFS@ $(PKG_CFLAGS)
169169DEFS = @DEFS@ $(PKG_CFLAGS )
170+ SWIGDEFS = @DEFS@
170171
171172# Move pkgIndex.tcl to 'BINARIES' var if it is generated in the Makefile
172173CONFIG_CLEAN_FILES = Makefile pkgIndex.tcl
@@ -209,7 +210,7 @@ all: @SWIG_WRAP@ binaries libraries
209210wrap : $(SWIGOUTPUT )
210211
211212$(SWIGOUTPUT ) : $(SWIGINTERFACE )
212- $(SWIG ) -tcl -pkgversion $(PACKAGE_VERSION ) -module $(PACKAGE_NAME ) -o $(SWIGOUTPUT ) $(SWIGINTERFACE )
213+ $(SWIG ) -tcl -pkgversion $(PACKAGE_VERSION ) -module $(PACKAGE_NAME ) $( SWIGDEFS ) -o $(SWIGOUTPUT ) $(SWIGINTERFACE )
213214
214215# ========================================================================
215216# The binaries target builds executable programs, Windows .dll's, unix
You can’t perform that action at this time.
0 commit comments