From d41f25009d12b27395651d47b0601b3efebdda2a Mon Sep 17 00:00:00 2001 From: kwkam Date: Sat, 28 Jan 2017 18:31:28 +0800 Subject: wscript: add LIBRARY_PATH for library detection MinGW GCC seems to ignore LIBRARY_PATH which causes problem when some libraries not using pkg-config were installed to local directory --- wscript | 2 ++ 1 file changed, 2 insertions(+) (limited to 'wscript') diff --git a/wscript b/wscript index ab853e7ad8..789baae4a2 100644 --- a/wscript +++ b/wscript @@ -989,6 +989,8 @@ def configure(ctx): ctx.find_program(windres, var='WINDRES', mandatory=False) ctx.find_program('perl', var='BIN_PERL', mandatory=False) + ctx.add_os_flags('LIBRARY_PATH') + ctx.load('compiler_c') ctx.load('waf_customizations') ctx.load('dependencies') -- cgit v1.2.3