diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2014-04-09 18:21:15 -0400 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2014-04-09 18:21:15 -0400 |
commit | 189b8951456ad1cd381f23516e70eff3fb72c359 (patch) | |
tree | 09f2313fb7aa45c53e29ea9d53cff3ccaedb114a /configure | |
parent | c39538277497f37e0c6919bb47c9a346d226b757 (diff) | |
download | qtlocation-mapboxgl-189b8951456ad1cd381f23516e70eff3fb72c359.tar.gz |
build libuv
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -58,6 +58,14 @@ def configure_glfw3(o): o['variables']['glfw3_libraries'] = ret[0].split() o['variables']['glfw3_cflags'] = ret[1].split() +def configure_uv(o): + ret = pkg_config('libuv', options.pkgconfig_root) + if not ret: + sys.stderr.write('could not find uv with pkg-config') + sys.exit(-1) + o['variables']['uv_libraries'] = ret[0].split() + o['variables']['uv_cflags'] = ret[1].split() + def configure_png(o): ret = pkg_config('libpng', options.pkgconfig_root) if not ret: @@ -93,6 +101,7 @@ output = { if __name__ == '__main__': configure_llmr(output) configure_glfw3(output) + configure_uv(output) configure_png(output) configure_curl(output) pprint.pprint(output, indent=2) |