FS-7180: let esl lua module build against lua 5.1 or 5.2 (requires newer swig)

This commit is contained in:
Brian West 2015-01-20 12:26:57 -06:00
parent 749ced5f60
commit 1d361b6108
2 changed files with 485 additions and 384 deletions

View File

@ -5,7 +5,7 @@ WRAP_GCC_WARNING_SILENCE=-Wno-unused-function
all: ESL.so
esl_wrap.cpp:
swig -module ESL -lua -c++ -DMULTIPLICITY -I../src/include -o esl_wrap.cpp ../ESL.i
swig2.0 -module ESL -lua -c++ -DMULTIPLICITY -I../src/include -o esl_wrap.cpp ../ESL.i
esl_wrap.o: esl_wrap.cpp
$(CXX) $(CXX_CFLAGS) $(CXXFLAGS) $(LOCAL_CFLAGS) $(WRAP_GCC_WARNING_SILENCE) -c esl_wrap.cpp -o esl_wrap.o

File diff suppressed because it is too large Load Diff