diff options
Diffstat (limited to 'build/linux/system.gyp')
-rw-r--r-- | build/linux/system.gyp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/build/linux/system.gyp b/build/linux/system.gyp index 56b5692..2c34629 100644 --- a/build/linux/system.gyp +++ b/build/linux/system.gyp @@ -1268,5 +1268,26 @@ }], ], }, + { + 'target_name': 'libffi', + 'type': 'none', + 'conditions': [ + ['_toolset=="target"', { + 'direct_dependent_settings': { + 'cflags': [ + '<!@(<(pkg-config) --cflags libffi)', + ], + }, + 'link_settings': { + 'ldflags': [ + '<!@(<(pkg-config) --libs-only-L --libs-only-other libffi)', + ], + 'libraries': [ + '<!@(<(pkg-config) --libs-only-l libffi)', + ], + }, + }], + ], + }, ], } |