summaryrefslogtreecommitdiff
path: root/drivers/png
diff options
context:
space:
mode:
authorElliott Sales de Andrade <quantum.analyst@gmail.com>2017-09-25 00:22:58 -0400
committerElliott Sales de Andrade <quantum.analyst@gmail.com>2017-09-25 14:36:30 -0400
commit45a9a680a3cf54d4f43c46c3ec43a108ee62b834 (patch)
treeb7c005cadf0fa5754ea35d150208217eaeb49cce /drivers/png
parentffab67b8daea8e3379824105439eba8226b72fde (diff)
Use BoolVariable for third-party options.
Diffstat (limited to 'drivers/png')
-rw-r--r--drivers/png/SCsub2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/png/SCsub b/drivers/png/SCsub
index 6684e36b20..39480351a6 100644
--- a/drivers/png/SCsub
+++ b/drivers/png/SCsub
@@ -5,7 +5,7 @@ Import('env')
env_png = env.Clone()
# Thirdparty source files
-if (env['builtin_libpng'] != 'no'):
+if env['builtin_libpng']:
thirdparty_dir = "#thirdparty/libpng/"
thirdparty_sources = [
"png.c",