diff options
Diffstat (limited to 'third_party/libpng/SConscript')
-rw-r--r-- | third_party/libpng/SConscript | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/third_party/libpng/SConscript b/third_party/libpng/SConscript index dd3066a..dafada4 100644 --- a/third_party/libpng/SConscript +++ b/third_party/libpng/SConscript @@ -28,8 +28,6 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# TODO(keunwoo): Use better cross-platform abstraction; see chrome/SConstruct
-Import('PLATFORM')
-
Import('env')
env = env.Clone()
@@ -41,7 +39,7 @@ env.Prepend( ],
)
-if PLATFORM == 'WINDOWS':
+if env['PLATFORM'] == 'win32':
env.Append(
CCFLAGS = [
'/TP',
|