1
0
Fork 0
mirror of https://github.com/rubyjs/libv8 synced 2023-03-27 23:21:48 -04:00

Merge pull request #185 from cowboyd/build-standalone-static-library

Instruct GYP to create a standalone static library
This commit is contained in:
Charles Lowell 2015-07-13 09:15:05 -05:00
commit 020b6485ce
2 changed files with 14 additions and 4 deletions

View file

@ -34,10 +34,6 @@ module Libv8
end
def make_flags(*flags)
# Fix Malformed archive issue caused by GYP creating thin archives by
# default.
flags << "standalone_static_library=1"
# Disable i18n
flags << 'i18nsupport=off'

View file

@ -0,0 +1,14 @@
diff --git a/build/standalone.gypi b/build/standalone.gypi
index b6519c4..ef9e7c5 100644
--- a/build/standalone.gypi
+++ b/build/standalone.gypi
@@ -373,6 +373,9 @@
}],
],
'target_conditions': [
+ ['_type=="static_library"', {
+ 'standalone_static_library': 1,
+ }],
['v8_code == 0', {
'defines!': [
'DEBUG',