diff options
Diffstat (limited to 'third_party/libxslt/libxslt.scons')
-rw-r--r-- | third_party/libxslt/libxslt.scons | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/third_party/libxslt/libxslt.scons b/third_party/libxslt/libxslt.scons index 9a9ff71..6009d9f 100644 --- a/third_party/libxslt/libxslt.scons +++ b/third_party/libxslt/libxslt.scons @@ -55,7 +55,7 @@ env.Append( ], ) -if env['PLATFORM'] == 'win32': +if env.Bit('windows'): env.Append( CCFLAGS = [ '/TC', @@ -88,7 +88,7 @@ input_files = [ env.ChromeStaticLibrary('libxslt', input_files) -if env['PLATFORM'] == 'win32': +if env.Bit('windows'): config_files = [ # The configure.js script must be first in this list; the # env.Command() call below executes the first list element. @@ -120,7 +120,7 @@ if env['PLATFORM'] == 'win32': copied_sources, 'cd ${SOURCE.dir} && $CSCRIPT ${SOURCE.file} $CONFIG_OPTIONS', CONFIG_OPTIONS='compiler=msvc') -elif env['PLATFORM'] == 'posix': +elif env.Bit('linux'): config_files = [ 'config.h', 'xslt-config', |