Browse files

libffi: don't build libffi as a "thin" archive

The default build options for linux don't seem to work for the `make` target
unless this is specified. Otherwise the `ar` command when building the static
archive will use the -T (thin archive) flag which is not present on older
versions of GNU ar.

Closes #110.
  • Loading branch information...
1 parent 1ba2cd9 commit 649eecfef79517dd65482b0df6efa9c572095d26 @TooTallNate TooTallNate committed Feb 18, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 deps/libffi/libffi.gyp
View
4 deps/libffi/libffi.gyp
@@ -87,6 +87,10 @@
'target_name': 'ffi',
'product_prefix': 'lib',
'type': 'static_library',
+
+ # for CentOS 5 support: https://github.com/rbranson/node-ffi/issues/110
+ 'standalone_static_library': 1,
+
'sources': [
'src/prep_cif.c',
'src/types.c',

0 comments on commit 649eecf

Please sign in to comment.