about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/v8/build-standalone-static-library.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/v8/build-standalone-static-library.patch')
-rw-r--r--nixpkgs/pkgs/development/libraries/v8/build-standalone-static-library.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/v8/build-standalone-static-library.patch b/nixpkgs/pkgs/development/libraries/v8/build-standalone-static-library.patch
new file mode 100644
index 000000000000..994c322429d1
--- /dev/null
+++ b/nixpkgs/pkgs/development/libraries/v8/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',