summaryrefslogtreecommitdiff
path: root/drivers/png/SCsub
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/png/SCsub')
-rw-r--r--drivers/png/SCsub2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/png/SCsub b/drivers/png/SCsub
index aedde3e2b7..6684e36b20 100644
--- a/drivers/png/SCsub
+++ b/drivers/png/SCsub
@@ -5,7 +5,7 @@ Import('env')
env_png = env.Clone()
# Thirdparty source files
-if (env["libpng"] == "builtin"):
+if (env['builtin_libpng'] != 'no'):
thirdparty_dir = "#thirdparty/libpng/"
thirdparty_sources = [
"png.c",