Skip to content

Instantly share code, notes, and snippets.

@djbe
Last active August 29, 2015 13:58
Show Gist options
  • Save djbe/9953021 to your computer and use it in GitHub Desktop.
Save djbe/9953021 to your computer and use it in GitHub Desktop.
Pod::Spec.new do |s|
s.name = 'libffi'
s.version = '3.0.13'
s.license = 'MIT'
s.summary = 'A portable foreign-function interface library.'
s.homepage = 'http://sourceware.org/libffi/'
s.author = { 'Anthony Green' => 'green@moxielogic.com',
'Raffaele Sena' => 'aff367@gmail.com',
'Jon Beniston' => 'jon@beniston.com',
'Bo Thorsen' => 'bo@suse.de',
'Landon Fuller' => 'landonf@plausible.coop',
'Zachary Waldowski' => 'zwaldowski@gmail.com' }
s.source = { :git => 'https://github.com/atgreen/libffi.git', :tag => 'v3.0.13' }
s.ios.preserve_paths = 'ios/src/dlmalloc.c'
s.ios.source_files = 'ios/include/*.h', 'ios/src/arm/*.{c,S}', 'ios/src/x86/*.{c,S}', 'ios/src/{closures,debug,prep_cif,raw_api,types}.c'
s.osx.preserve_paths = 'osx/src/dlmalloc.c'
s.osx.source_files = 'osx/include/*.h', 'osx/src/x86/*.{c,S}', 'osx/src/{closures,debug,prep_cif,raw_api,types}.c'
s.xcconfig = { 'OTHER_LDFLAGS' => "-Wl,-no_compact_unwind" }
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment