Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions ext/libv8/builder.rb
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
@@ -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',