Compile static mingw executables with -static argument
This commit is contained in:
parent
c40602c2b3
commit
8fc9a6d8ad
|
@ -67,7 +67,7 @@ dll-%.o: %.c
|
||||||
|
|
||||||
# --enable-stdcall-fixup
|
# --enable-stdcall-fixup
|
||||||
%-static.exe: %.o libminiupnpc.a
|
%-static.exe: %.o libminiupnpc.a
|
||||||
$(CC) -o $@ $^ $(LDLIBS)
|
$(CC) -static -o $@ $^ $(LDLIBS)
|
||||||
|
|
||||||
%-shared.exe: %-shared.o miniupnpc.lib
|
%-shared.exe: %-shared.o miniupnpc.lib
|
||||||
$(CC) -o $@ $^ $(LDLIBS)
|
$(CC) -o $@ $^ $(LDLIBS)
|
||||||
|
|
Loading…
Reference in New Issue