Fix Makefile for bv
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15577 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
827e9abb5a
commit
13d1311589
|
@ -1,7 +1,11 @@
|
||||||
BASE=../../../..
|
BASE=../../../..
|
||||||
DIR=$(BASE)/libs/broadvoice
|
BV_DIR=$(BASE)/libs/broadvoice
|
||||||
A=$(DIR)/src/.libs/libbroadvoice.a
|
LOCAL_CFLAGS=-I$(BV_DIR)/src
|
||||||
|
BV_LA=$(BV_DIR)/src/.libs/libbroadvoice.la
|
||||||
LOCAL_INSERT_CFLAGS=if test -f $(A); then echo "-I$(DIR)/src" ; fi ;
|
LOCAL_LIBADD=$(BV_LA)
|
||||||
LOCAL_INSERT_LDFLAGS=test ! -f $(A) || echo $(A)
|
|
||||||
include $(BASE)/build/modmake.rules
|
include $(BASE)/build/modmake.rules
|
||||||
|
|
||||||
|
$(BV_LA): $(BV_DIR)/.update
|
||||||
|
cd $(BV_DIR) && ./configure --disable-shared --with-pic && $(MAKE)
|
||||||
|
$(TOUCH_TARGET)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue