Skip to content
This repository has been archived by the owner on Dec 4, 2023. It is now read-only.

Commit

Permalink
Merge pull request #185 from cowboyd/build-standalone-static-library
Browse files Browse the repository at this point in the history
Instruct GYP to create a standalone static library
  • Loading branch information
cowboyd committed Jul 13, 2015
2 parents b2ad464 + f5dc429 commit 020b648
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
4 changes: 0 additions & 4 deletions ext/libv8/builder.rb
Expand Up @@ -34,10 +34,6 @@ def gyp_defines(*defines)
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'

Expand Down
14 changes: 14 additions & 0 deletions patches/build-standalone-static-library.patch
@@ -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',

0 comments on commit 020b648

Please sign in to comment.