From 23b3e99849cfb24e6f6ffd2ae8593de3fe230b4c Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Mon, 3 Feb 2014 17:14:21 -0800 Subject: [PATCH] fix typos --- configure | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure b/configure index 555177379..7e7df519f 100755 --- a/configure +++ b/configure @@ -74,12 +74,12 @@ def configure_glfw3(o): o['variables']['glfw3_cflags'] = ret[1].split() def configure_png(o): - if options.glfw3: - libpath = os.path.join(options.glfw3,'lib') + if options.png: + libpath = os.path.join(options.png,'lib') if os.path.exists(libpath): o['variables']['png_libraries'] = '-L'+libpath o['variables']['png_libraries'] += ' -lpng -lz' - incpath = os.path.join(options.glfw3,'include') + incpath = os.path.join(options.png,'include') if os.path.exists(incpath): o['variables']['png_cflags'] = '-I'+include else: