FS-10427: move libesl to use swig3.0 so we can reswig on debian9

This commit is contained in:
Mike Jerris committed 2017-06-27 12:10:04 -05:00
1 parent 10e7e3429b
commit 3347820c1e
33 files changed
+2168 -1145

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@ WRAP_GCC_WARNING_SILENCE=-Wno-unused-label -Wno-unused-function
all: ESL.so
esl_wrap.cpp:
swig2.0 -module ESL -php5 -c++ -DMULTIPLICITY -I../src/include -o esl_wrap.cpp ../ESL.i
swig3.0 -module ESL -php5 -c++ -DMULTIPLICITY -I../src/include -o esl_wrap.cpp ../ESL.i
sed -e 's/ char \*type_name;/ const char \*type_name;/' -i esl_wrap.cpp
esl_wrap.o: esl_wrap.cpp