Fixed SWIG Python build failure on Mac (#3848)
This commit is contained in:
parent
e12a8d17a0
commit
0de8fef515
|
@ -26,7 +26,9 @@ SWIG_FLAGS=-I../../../../pjlib/include \
|
|||
SRC_DIR=../../../../pjsip/include
|
||||
SRCS=$(SRC_DIR)/pjsua2/endpoint.hpp $(SRC_DIR)/pjsua2/types.hpp
|
||||
|
||||
USE_THREADS = -threads -DSWIG_NO_EXPORT_ITERATOR_METHODS
|
||||
USE_THREADS = -threads
|
||||
# In SWIG 4.2 the build will fail if we use this flag
|
||||
#-DSWIG_NO_EXPORT_ITERATOR_METHODS
|
||||
SWIG_FLAGS += -w312 $(USE_THREADS)
|
||||
|
||||
.PHONY: all install uninstall
|
||||
|
|
Loading…
Reference in New Issue