File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -173,10 +173,17 @@ LIBUV_MAKEFILE_$(1)_$(2) := $$(CFG_BUILD_DIR)rt/$(1)/stage$(2)/libuv/Makefile
173173LIBUV_NO_LOAD = run-benchmarks.target.mk run-tests.target.mk \
174174 uv_dtrace_header.target.mk uv_dtrace_provider.target.mk
175175
176+ ifeq ($(OSTYPE_$(1 ) ) , linux-androideabi)
177+ $$(LIBUV_MAKEFILE_$(1 ) _$(2 ) ) : $$(LIBUV_GYP )
178+ (cd $( S) src/libuv/ && \
179+ $$(CFG_PYTHON ) ./gyp_uv -f make -Dtarget_arch=$$(LIBUV_ARCH_$(1 ) ) -D ninja -DOS=android \
180+ -Goutput_dir=$$(@D ) --generator-output $$(@D ) )
181+ else
176182$$(LIBUV_MAKEFILE_$(1 ) _$(2 ) ) : $$(LIBUV_GYP )
177183 (cd $( S) src/libuv/ && \
178184 $$(CFG_PYTHON ) ./gyp_uv -f make -Dtarget_arch=$$(LIBUV_ARCH_$(1 ) ) -D ninja \
179185 -Goutput_dir=$$(@D ) --generator-output $$(@D ) )
186+ endif
180187
181188# XXX: Shouldn't need platform-specific conditions here
182189ifdef CFG_WINDOWSY_$(1)
@@ -194,8 +201,10 @@ $$(LIBUV_LIB_$(1)_$(2)): $$(LIBUV_DEPS) $$(LIBUV_MAKEFILE_$(1)_$(2))
194201 LDFLAGS=" $$ (CFG_GCCISH_LINK_FLAGS) $$ (LIBUV_FLAGS_$$ (HOST_$( 1) ))" \
195202 CC=" $$ (CC_$( 1) )" \
196203 CXX=" $$ (CXX_$( 1) )" \
204+ LINK=" $$ (CXX_$( 1) )" \
197205 AR=" $$ (AR_$( 1) )" \
198206 host=android OS=linux \
207+ PLATFORM=android \
199208 builddir=" ." \
200209 BUILDTYPE=Release \
201210 NO_LOAD=" $$ (LIBUV_NO_LOAD)" \
You can’t perform that action at this time.
0 commit comments