Skip to content

Commit e971d0c

Browse files
committed
mk: rt.mk fix for libuv cross compile
1 parent 7714d52 commit e971d0c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

mk/rt.mk

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,13 +86,13 @@ RUNTIME_S_$(1) := rt/arch/$$(HOST_$(1))/_context.S \
8686
ifeq ($$(CFG_WINDOWSY_$(1)), 1)
8787
LIBUV_OSTYPE_$(1) := win
8888
LIBUV_LIB_$(1) := rt/$(1)/libuv/libuv.a
89-
else ifeq ($(CFG_OSTYPE_$(1)), apple-darwin)
89+
else ifeq ($(OSTYPE_$(1)), apple-darwin)
9090
LIBUV_OSTYPE_$(1) := mac
9191
LIBUV_LIB_$(1) := rt/$(1)/libuv/libuv.a
92-
else ifeq ($(CFG_OSTYPE_$(1)), unknown-freebsd)
92+
else ifeq ($(OSTYPE_$(1)), unknown-freebsd)
9393
LIBUV_OSTYPE_$(1) := unix/freebsd
9494
LIBUV_LIB_$(1) := rt/$(1)/libuv/libuv.a
95-
else ifeq ($(CFG_OSTYPE_$(1)), unknown-android)
95+
else ifeq ($(OSTYPE_$(1)), unknown-android)
9696
LIBUV_OSTYPE_$(1) := unix/android
9797
LIBUV_LIB_$(1) := rt/$(1)/libuv/libuv.a
9898
else
@@ -163,7 +163,7 @@ $$(LIBUV_LIB_$(1)): $$(LIBUV_DEPS)
163163
builddir_name="$$(CFG_BUILD_DIR)/rt/$(1)/libuv" \
164164
OS=mingw \
165165
V=$$(VERBOSE)
166-
else ifeq ($(CFG_OSTYPE_$(1)), unknown-android)
166+
else ifeq ($(OSTYPE_$(1)), unknown-android)
167167
$$(LIBUV_LIB_$(1)): $$(LIBUV_DEPS)
168168
$$(Q)$$(MAKE) -C $$(S)src/libuv/ \
169169
CFLAGS="$$(LIBUV_FLAGS_$$(HOST_$(1))) $$(SNAP_DEFINES)" \

0 commit comments

Comments
 (0)