--resolve ESL-72 fix const char* vs char* issue in swig

This commit is contained in:
Ken Rice
2013-09-20 14:58:44 -05:00
parent 4bbce38eb6
commit a9330e6b8c
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -17,6 +17,7 @@ all: ESL.so
esl_wrap.cpp:
swig -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
$(CXX) $(CXX_CFLAGS) $(CXXFLAGS) $(LOCAL_CFLAGS) $(WRAP_GCC_WARNING_SILENCE) -c esl_wrap.cpp -o esl_wrap.o