We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7176acb commit dbaa315Copy full SHA for dbaa315
ports/windows/Makefile
@@ -85,7 +85,7 @@ CFLAGS += -DMICROPY_USE_READLINE=1
85
SRC_C += shared/readline/readline.c
86
endif
87
88
-LIB += -lws2_32
+LIBS += -lws2_32
89
90
# List of sources for qstr extraction
91
SRC_QSTR += $(SRC_C) $(SRC_CXX) $(SHARED_SRC_C)
py/mkrules.mk
@@ -247,7 +247,7 @@ $(BUILD)/$(PROG): $(OBJ)
247
$(ECHO) "LINK $@"
248
# Do not pass COPT here - it's *C* compiler optimizations. For example,
249
# we may want to compile using Thumb, but link with non-Thumb libc.
250
- $(Q)$(CC) -o $@ $^ $(LIB) $(LDFLAGS)
+ $(Q)$(CC) -o $@ $^ $(LIBS) $(LDFLAGS)
251
ifndef DEBUG
252
ifdef STRIP
253
$(Q)$(STRIP) $(STRIPFLAGS_EXTRA) $@
0 commit comments