ensure png_cflags is a list

This commit is contained in:
Dane Springmeyer
2014-02-04 11:08:11 -08:00
parent 6225c5b195
commit dc56aeed00

2
configure vendored
View File

@@ -99,7 +99,7 @@ def configure_png(o):
elif options.png:
incpath = os.path.join(options.png,'include')
if incpath and os.path.exists(incpath):
o['variables']['png_cflags'] = '-I'+incpath
o['variables']['png_cflags'] = ['-I'+incpath]
else:
ret = pkg_config('libpng')
if not ret: