Force -ObjC in Mapbox GL pod

Fixes #1849.
This commit is contained in:
Minh Nguyễn
2015-07-10 10:45:55 -07:00
parent 06fd6d5c1e
commit 97b7307f35

View File

@@ -29,6 +29,9 @@ Pod::Spec.new do |m|
m.frameworks = 'CoreLocation', 'CoreTelephony', 'GLKit', 'ImageIO', 'MobileCoreServices', 'QuartzCore', 'SystemConfiguration'
m.libraries = 'c++', 'sqlite3', 'z'
m.xcconfig = { 'OTHER_CPLUSPLUSFLAGS' => '-std=gnu++11 -stdlib=libc++' }
m.xcconfig = {
'OTHER_CPLUSPLUSFLAGS' => '-std=gnu++11 -stdlib=libc++',
'OTHER_LDFLAGS' => '-ObjC',
}
end