Skip to content

Commit bcc4ee0

Browse files
committed
Copy GYP environment variables on iOS
1 parent 650683f commit bcc4ee0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

mk/rt.mk

+3
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,9 @@ else ifeq ($(OSTYPE_$(1)), apple-ios) # iOS
228228
$$(LIBUV_XCODEPROJ_$(1)): $$(LIBUV_DEPS) $$(MKFILE_DEPS) $$(LIBUV_STAMP_$(1))
229229
cp -rf $(S)src/libuv/ $$(LIBUV_BUILD_DIR_$(1))
230230
(cd $$(LIBUV_BUILD_DIR_$(1)) && \
231+
CC="$$(CC_$(1))" \
232+
CXX="$$(CXX_$(1))" \
233+
AR="$$(AR_$(1))" \
231234
$$(CFG_PYTHON) ./gyp_uv.py -f xcode \
232235
-D ninja \
233236
-R libuv)

0 commit comments

Comments
 (0)