fix xproj target

This commit is contained in:
Dane Springmeyer
2014-10-29 17:22:36 -04:00
parent a8b5f56049
commit 4cfb4b130f
2 changed files with 23 additions and 12 deletions

View File

@@ -48,6 +48,10 @@
{
'target_name': 'mbgl-standalone',
'type': 'none',
'hard_dependency': 1,
'dependencies': [
'mbgl-core'
],
'variables': {
'core_lib':'<(PRODUCT_DIR)/libmbgl-core.a',
'standalone_lib':'<(PRODUCT_DIR)/libmbgl.a'

View File

@@ -35,18 +35,25 @@
'MACOSX_DEPLOYMENT_TARGET':'10.9',
'CLANG_ENABLE_OBJC_ARC': 'YES'
},
'libraries': [
'<@(glfw3_static_libs)',
],
'libraries': [
'-L<(PRODUCT_DIR)/',
'-lmbgl',
'<@(png_ldflags)',
'<@(sqlite3_ldflags)',
'<@(glfw3_static_libs)',
'<@(glfw3_ldflags)',
'<@(curl_ldflags)',
'<@(zlib_ldflags)',
'variables' : {
'ldflags': [
'-L<(PRODUCT_DIR)/',
'-lmbgl',
'<@(sqlite3_ldflags)',
'<@(glfw3_static_libs)',
'<@(glfw3_ldflags)',
'<@(curl_ldflags)',
'<@(png_ldflags)'
]
},
'conditions': [
['OS == "mac"', {
'xcode_settings': {
'OTHER_LDFLAGS': [ '<@(ldflags)' ],
}
}, {
'ldflags': [ '<@(ldflags)' ],
}]
],
'dependencies': [
'../mapboxgl.gyp:bundle_styles',