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:
parent
4d605eb865
commit
0a0c71875d
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user