add LDFLAGS for static libgcc and stdc++ so we don't need dlls for those

This commit is contained in:
Andrew Tonner 2017-01-18 14:46:55 -08:00
parent 0ffa196f29
commit fa8c87acff

View File

@ -37,7 +37,7 @@ CFLAGS = @CFLAGS@ $(SDL_CFLAGS)
CXXFLAGS = @CXXFLAGS@ $(SDL_CFLAGS) CXXFLAGS = @CXXFLAGS@ $(SDL_CFLAGS)
CPPFLAGS = @CPPFLAGS@ -I../include -I. -I../slirp CPPFLAGS = @CPPFLAGS@ -I../include -I. -I../slirp
DEFS = @DEFS@ DEFS = @DEFS@
LDFLAGS = @LDFLAGS@ LDFLAGS = @LDFLAGS@ -static-libgcc -static-libstdc++ -Wl,-Bstatic -lstdc++ -lpthread -Wl,-Bdynamic
LIBS = @LIBS@ -lws2_32 -lwsock32 -liphlpapi LIBS = @LIBS@ -lws2_32 -lwsock32 -liphlpapi
CPUSRCS = @CPUSRCS@ CPUSRCS = @CPUSRCS@
PERL = @PERL@ PERL = @PERL@