Create implib for dlls when testing MinGW targets

This commit is contained in:
Mateusz Mikuła 2020-06-13 14:18:02 +02:00
parent c2dbebd3d4
commit 48fe5fcbb8

View file

@ -150,7 +150,7 @@ ifdef IS_MSVC
$(CC) $< -link -dll -out:`cygpath -w $@` $(CC) $< -link -dll -out:`cygpath -w $@`
else else
%.dll: lib%.o %.dll: lib%.o
$(CC) -o $@ $< -shared $(CC) -o $@ $< -shared -Wl,--out-implib=$@.a
endif endif
$(TMPDIR)/lib%.o: %.c $(TMPDIR)/lib%.o: %.c