Skip to content

Commit f1cf67b

Browse files
committed
Fix test for MSVC
1 parent 832fede commit f1cf67b

File tree

1 file changed

+1
-1
lines changed
  • tests/run-make-fulldeps/staticlib-dylib-linkage

1 file changed

+1
-1
lines changed

Diff for: tests/run-make-fulldeps/staticlib-dylib-linkage/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ all:
88
cat $(TMPDIR)/libs.txt
99

1010
ifdef IS_MSVC
11-
$(CC) $(CFLAGS) foo.c $(TMPDIR)/foo.lib $$(cat $(TMPDIR)/libs.txt) $(call OUT_EXE,foo)
11+
$(CC) $(CFLAGS) foo.c $(TMPDIR)/foo.lib $(call OUT_EXE,foo) /link $$(cat $(TMPDIR)/libs.txt)
1212
else
1313
$(CC) $(CFLAGS) foo.c -L $(TMPDIR) -lfoo $$(cat $(TMPDIR)/libs.txt) -o $(call RUN_BINFILE,foo)
1414
endif

0 commit comments

Comments
 (0)