File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -157,16 +157,17 @@ LIBUV_DEPS := $$(wildcard \
157
157
$$(S ) src/libuv/* /* /* /* )
158
158
endif
159
159
160
+ ifdef CFG_WINDOWSY
161
+ LIBUV_OS := 'OS=mingw'
162
+ else
163
+ LIBUV_OS :=
164
+ endif
165
+
160
166
$$(LIBUV_LIB_$(1 ) ) : $$(LIBUV_DEPS )
161
167
$$(Q )$$(MAKE ) -C $$(S ) src/libuv/ \
162
168
CFLAGS="$$(LIBUV_FLAGS_$$(HOST_$(1 ) ) ) $$(SNAP_DEFINES ) " \
163
- LDFLAGS="$$(LIBUV_FLAGS_$$(HOST_$(1 ) ) ) " \
164
- CC="$$(CFG_GCCISH_CROSS )$$(CC ) " \
165
- CXX="$$(CFG_GCCISH_CROSS )$$(CXX ) " \
166
- AR="$$(CFG_GCCISH_CROSS )$$(AR ) " \
167
- BUILDTYPE=Release \
168
- builddir_name="$$(CFG_BUILD_DIR ) /rt/$(1 ) /libuv" \
169
- V=$$(VERBOSE ) FLOCK=
169
+ builddir_name="$$(CFG_BUILD_DIR ) /rt/$(1 ) /libuv" $$(LIBUV_OS ) \
170
+ V=$$(VERBOSE )
170
171
171
172
# These could go in rt.mk or rustllvm.mk, they're needed for both.
172
173
You can’t perform that action at this time.
0 commit comments