fix -srcdir for mod_yaml
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15934 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
0c62b3f1d6
commit
7cc4b54e58
|
@ -1,4 +1,5 @@
|
|||
BASE=../../../..
|
||||
|
||||
YAMLLIB=$(switch_srcdir)/libs/yaml
|
||||
YAMLBUILDLIB=$(switch_builddir)/libs/yaml
|
||||
LIBYAML_A=$(YAMLBUILDLIB)/src/.libs/libyaml.a
|
||||
|
@ -11,7 +12,8 @@ include $(BASE)/build/modmake.rules
|
|||
local_depend: $(LIBYAML_A)
|
||||
|
||||
$(LIBYAML_A):
|
||||
cd $(YAMLBUILDLIB) && $(DEFAULT_VARS) ./configure $(DEFAULT_ARGS)
|
||||
mkdir -p $(YAMLBUILDLIB)
|
||||
cd $(YAMLBUILDLIB) && $(DEFAULT_VARS) $(YAMLLIB)/configure $(DEFAULT_ARGS) --srcdir=$(YAMLLIB)
|
||||
cd $(YAMLBUILDLIB) && $(MAKE)
|
||||
|
||||
yamlclean:
|
||||
|
|
Loading…
Reference in New Issue