summaryrefslogtreecommitdiff
path: root/drivers/png/SCsub
diff options
context:
space:
mode:
authorPeaceSells <peacesells50@gmail.com>2015-07-23 18:04:50 -0600
committerPeaceSells <peacesells50@gmail.com>2015-07-24 13:12:23 -0600
commit9983ceecf25a4110793aeeae0378b2b50316f34d (patch)
tree53123a8db8e5efe0ff86e9b06654fba1a37aa326 /drivers/png/SCsub
parentd50ebbb441cd6e1d2227d26cc168e76c7bff2b62 (diff)
Fixes compile bug for Android template on Windows.
Diffstat (limited to 'drivers/png/SCsub')
-rw-r--r--drivers/png/SCsub5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/png/SCsub b/drivers/png/SCsub
index c3919567bc..7b937d4dfb 100644
--- a/drivers/png/SCsub
+++ b/drivers/png/SCsub
@@ -27,7 +27,10 @@ if ("neon_enabled" in env and env["neon_enabled"]):
if "S_compiler" in env:
env_neon['CC'] = env['S_compiler']
env_neon.Append(CPPFLAGS=["-DPNG_ARM_NEON"])
- png_sources.append(env_neon.Object("#drivers/png/filter_neon.S"))
+ import os
+ # Currently .ASM filter_neon.S does not compile on NT.
+ if (os.name!="nt"):
+ png_sources.append(env_neon.Object("#drivers/png/filter_neon.S"))
env.drivers_sources+=png_sources