Force -ObjC in Mapbox GL pod

Fixes #1849.

Cherry-picked from 97b7307f35.
This commit is contained in:
Minh Nguyễn
2015-07-10 10:45:55 -07:00
parent cf56ed3698
commit cf9e41be0d

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