Skip to content

Commit dbaa315

Browse files
committed
py/mkrules: Change LIB to LIBS.
Same in ports/windows/Makefile to be consistent with other ports. Resolves build error after 7176acb. Signed-off-by: Dryw Wade <[email protected]>
1 parent 7176acb commit dbaa315

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ports/windows/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ CFLAGS += -DMICROPY_USE_READLINE=1
8585
SRC_C += shared/readline/readline.c
8686
endif
8787

88-
LIB += -lws2_32
88+
LIBS += -lws2_32
8989

9090
# List of sources for qstr extraction
9191
SRC_QSTR += $(SRC_C) $(SRC_CXX) $(SHARED_SRC_C)

py/mkrules.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ $(BUILD)/$(PROG): $(OBJ)
247247
$(ECHO) "LINK $@"
248248
# Do not pass COPT here - it's *C* compiler optimizations. For example,
249249
# we may want to compile using Thumb, but link with non-Thumb libc.
250-
$(Q)$(CC) -o $@ $^ $(LIB) $(LDFLAGS)
250+
$(Q)$(CC) -o $@ $^ $(LIBS) $(LDFLAGS)
251251
ifndef DEBUG
252252
ifdef STRIP
253253
$(Q)$(STRIP) $(STRIPFLAGS_EXTRA) $@

0 commit comments

Comments
 (0)