diff options
author | kwkam <kwkam@users.noreply.github.com> | 2017-01-28 18:31:28 +0800 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-01-28 14:02:34 +0100 |
commit | d41f25009d12b27395651d47b0601b3efebdda2a (patch) | |
tree | 8ba5481f4aeab70e3823f37fc4db896361ba33a4 /wscript | |
parent | ea40fa36eef15384b4c0218fb102f92f5cd1cdff (diff) |
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
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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') |