Create implib for dlls when testing MinGW targets
This commit is contained in:
parent
c2dbebd3d4
commit
48fe5fcbb8
@ -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…
x
Reference in New Issue
Block a user