Create implib for dlls when testing MinGW targets
This commit is contained in:
parent
c2dbebd3d4
commit
48fe5fcbb8
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue