diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2014-04-11 15:13:55 -0400 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2014-04-11 15:13:55 -0400 |
commit | ebc9a0a0d7132f4e40cc6b61a04ec62862801215 (patch) | |
tree | d79ce37f786341b76c78ed7dbc3ea62c6051d7ba /configure | |
parent | ed657c42d563cd84b4cfd3aa6e13525985674c71 (diff) | |
download | qtlocation-mapboxgl-ebc9a0a0d7132f4e40cc6b61a04ec62862801215.tar.gz |
add xcode project builds
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -59,12 +59,17 @@ def configure_llmr(o): o['variables']['node'] = 'node' o['target_defaults']['default_configuration'] = 'Debug' if options.debug else 'Release' + +def fix_frameworks(libs): + # don't split "-framework Foo" + return re.split('(?<!-framework)\s+', libs.strip()) + def configure_glfw3(o): ret = pkg_config('glfw3', options.pkgconfig_root) if not ret: sys.stderr.write('could not find glfw3 with pkg-config') sys.exit(-1) - o['variables']['glfw3_libraries'] = ret[0].split() + o['variables']['glfw3_libraries'] = fix_frameworks(ret[0]) o['variables']['glfw3_cflags'] = ret[1].split() def configure_uv(o): |