mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-16 06:18:35 +00:00
pass configure args/vars to sub-configure commands run from module makefiles
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15718 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
59ba5a156c
commit
7c255937c3
8 files changed
+21
-22
No files matched your search
@@ -11,15 +11,13 @@ LOCAL_LIBADD=$(JSONLA)
|
||||
|
||||
include $(BASE)/build/modmake.rules
|
||||
|
||||
DEFAULT_ARGS=--prefix=$(PREFIX) --disable-shared --with-pic
|
||||
|
||||
$(LOCAL_OBJS): $(LOCAL_SOURCES)
|
||||
|
||||
$(JSON_DIR):
|
||||
$(GETLIB) $(json-c).tar.gz
|
||||
|
||||
$(JSON_DIR)/Makefile: $(JSON_DIR)
|
||||
cd $(JSON_DIR) && CFLAGS=$(AM_CFLAGS) CC=$(CC) CXX=$(CXX) ./configure --disable-shared --with-pic CPPFLAGS= LDFLAGS=
|
||||
cd $(JSON_DIR) && $(DEFAULT_VARS) ./configure $(DEFAULT_ARGS) CPPFLAGS= LDFLAGS=
|
||||
$(TOUCH_TARGET)
|
||||
|
||||
$(JSONLA): $(JSON_DIR)/Makefile
|
||||
|
||||
Reference in new issue
Block a user