mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-14 05:18:31 +00:00
more --srcdir fixes (FSBUILD-211)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15849 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
1ae5b7cb49
commit
a977524425
12 files changed
+67
-51
No files matched your search
@@ -2,9 +2,10 @@ BASE=../../../..
|
||||
|
||||
CELT=celt-0.7.0
|
||||
|
||||
CELT_DIR=$(BASE)/libs/$(CELT)
|
||||
CELT_DIR=$(switch_srcdir)/libs/$(CELT)
|
||||
CELT_BUILDDIR=$(switch_builddir)/libs/$(CELT)
|
||||
LOCAL_CFLAGS=-I$(CELT_DIR)/libcelt
|
||||
CELT_LA=$(CELT_DIR)/libcelt/.libs/libcelt.la
|
||||
CELT_LA=$(CELT_BUILDDIR)/libcelt/.libs/libcelt.la
|
||||
LOCAL_LIBADD=$(CELT_LA)
|
||||
include $(BASE)/build/modmake.rules
|
||||
|
||||
@@ -12,9 +13,9 @@ $(CELT_DIR):
|
||||
$(GETLIB) $(CELT).tar.gz
|
||||
|
||||
$(CELT_DIR)/Makefile: $(CELT_DIR)
|
||||
cd $(CELT_DIR) && CFLAGS=$(AM_CFLAGS) ./configure --disable-shared --with-pic
|
||||
cd $(CELT_DIR) && $(DEFAULT_VARS) ./configure $(DEFAULT_ARGS)
|
||||
|
||||
$(CELT_LA): $(CELT_DIR)/Makefile
|
||||
cd $(CELT_DIR) && $(MAKE)
|
||||
cd $(CELT_BUILDDIR) && $(MAKE)
|
||||
$(TOUCH_TARGET)
|
||||
|
||||
Reference in new issue
Block a user