diff options
author | Rodrigo Kumpera <kumpera@gmail.com> | 2017-10-28 02:46:16 +0300 |
---|---|---|
committer | Rodrigo Kumpera <kumpera@gmail.com> | 2017-10-31 01:08:01 +0300 |
commit | cc9cb3f6d7ef49936bd24c546a24cc08dd82c34b (patch) | |
tree | 73923c1f43fd6d53c9cb7b36c96bf741eb0ce7dc /sdks/builds/Makefile | |
parent | f5915baa5d6abae24110f92829ddb470ac2db5bd (diff) |
[sdks] Fix autogen invocation and respect Make.config options.
Not all systems will have brew's libtool force linked, so we probe for glibtool to ensure we got it.
Respect DISABLE_ options.
Added DISABLED_BCL.
Diffstat (limited to 'sdks/builds/Makefile')
-rw-r--r-- | sdks/builds/Makefile | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/sdks/builds/Makefile b/sdks/builds/Makefile index d6cd2f90a8d..02779db7bae 100644 --- a/sdks/builds/Makefile +++ b/sdks/builds/Makefile @@ -3,19 +3,32 @@ include $(TOP)/sdks/paths.mk IS_RELEASE?=true +#brew's libtool is not compatible with some of the deps needed (I.E. V8) so in those systems we need to explicit add to the path +#this is due mono not being compatible with xcode's libtool, which is what's on path by default +ifeq (, $(shell which glibtoolize)) +EXTRA_PATH=$(wildcard /usr/local/Cellar/libtool/*/bin/) +endif + $(TOP)/configure: $(TOP)/configure.ac $(TOP)/autogen.sh - cd $(TOP) && NOCONFIGURE=1 ./autogen.sh + cd $(TOP) && PATH=$(EXTRA_PATH):$$PATH NOCONFIGURE=1 ./autogen.sh TARGETS= ## BCL targets +ifndef DISABLE_BCL include bcl.mk +endif ## Android targets +ifndef DISABLE_ANDROID include android.mk +endif ## iOS targets +ifndef DISABLE_IOS include ios.mk +endif + ## Generic targets .PHONY: $(foreach target,$(TARGETS),toolchain-$(target)) |