Fixed gcc building for platforms without statically-linked CRT (only static link on MinGW)

git-svn-id: http://pugixml.googlecode.com/svn/trunk@815 99668b35-9821-0410-8761-19e4c4f06640
This commit is contained in:
arseny.kapoulkine 2011-07-27 07:21:38 +00:00
parent 4d605eb865
commit 0a0c71875d

View File

@ -9,11 +9,11 @@ if ( $(toolset:I=^mingw) || $(toolset:I=^gcc) )
else else
{ {
GCCPATH = "%$(toolset)_PATH%\\bin\\" ; GCCPATH = "%$(toolset)_PATH%\\bin\\" ;
LDFLAGS += -static-libgcc -static ;
} }
if ( $(OS) != MACOSX ) if ( $(OS) != MACOSX )
{ {
LDFLAGS += -static-libgcc -static ;
ARCH = "" ; ARCH = "" ;
} }
else else