summaryrefslogtreecommitdiff
path: root/drivers/png/SCsub
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2018-10-01 10:59:03 +0200
committerRémi Verschelde <rverschelde@gmail.com>2018-10-01 11:59:22 +0200
commit6bfb7944d9a1639042ba23fd0ff9950fff9464dd (patch)
tree1c2c5e8253a7ed84cee097a1390bd0d8e53bbe75 /drivers/png/SCsub
parentc51caa3dbdf4acaa7e063c46ae8026adb0633008 (diff)
SCons: Remove avoidable defines from main env's CPPPATH
Also finally move freetype to its own env and disable warnings for it. Still needs some work to fix the awkward situation of the freetype and svg modules used in scene/ and editor/ respectively.
Diffstat (limited to 'drivers/png/SCsub')
-rw-r--r--drivers/png/SCsub2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/png/SCsub b/drivers/png/SCsub
index 986c36c67c..22fb1817d1 100644
--- a/drivers/png/SCsub
+++ b/drivers/png/SCsub
@@ -27,6 +27,8 @@ if env['builtin_libpng']:
thirdparty_sources = [thirdparty_dir + file for file in thirdparty_sources]
env_png.Append(CPPPATH=[thirdparty_dir])
+ # Needed for drivers includes and in platform/javascript
+ env.Append(CPPPATH=[thirdparty_dir])
# Currently .ASM filter_neon.S does not compile on NT.
import os