mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 01:26:58 +00:00
added python eslmod installation to esl Makefiles
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
LOCAL_CFLAGS=`python ./python-config --includes`
|
||||
LOCAL_LDFLAGS=`python ./python-config --ldflags`
|
||||
SITE_DIR=`python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()"`
|
||||
|
||||
all: _ESL.so
|
||||
|
||||
@@ -12,6 +13,9 @@ esl_wrap.o: esl_wrap.cpp
|
||||
_ESL.so: esl_wrap.o
|
||||
$(CXX) $(SOLINK) esl_wrap.o $(MYLIB) $(LOCAL_LDFLAGS) -o _ESL.so -L. $(LIBS)
|
||||
|
||||
install: _ESL.so
|
||||
install -o root -g root -m 644 _ESL.so $(SITE_DIR)
|
||||
|
||||
clean:
|
||||
rm -f *.o *.so *~
|
||||
|
||||
|
Reference in New Issue
Block a user