summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-04-09 18:21:15 -0400
committerKonstantin Käfer <mail@kkaefer.com>2014-04-09 18:21:15 -0400
commit189b8951456ad1cd381f23516e70eff3fb72c359 (patch)
tree09f2313fb7aa45c53e29ea9d53cff3ccaedb114a /configure
parentc39538277497f37e0c6919bb47c9a346d226b757 (diff)
downloadqtlocation-mapboxgl-189b8951456ad1cd381f23516e70eff3fb72c359.tar.gz
build libuv
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure9
1 files changed, 9 insertions, 0 deletions
diff --git a/configure b/configure
index 467876969d..7156568ba2 100755
--- a/configure
+++ b/configure
@@ -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)