Sha256: 0f2d2d55df4dd49f741c26fe8bf4e566c3b890dc093957dd0651aaf77bc5a531

Contents?: true

Size: 538 Bytes

Versions: 6

Compression:

Stored size: 538 Bytes

Contents

diff --git a/build/standalone.gypi b/build/standalone.gypi
index 7670e5b..230518c 100644
--- a/build/standalone.gypi
+++ b/build/standalone.gypi
@@ -205,7 +205,7 @@
           [ 'visibility=="hidden" and v8_enable_backtrace==0', {
             'cflags': [ '-fvisibility=hidden' ],
           }],
-          [ 'component=="shared_library"', {
+          [ 'component=="shared_library" or component=="static_library" and (v8_target_arch=="x64" or v8_target_arch=="arm64")', {
             'cflags': [ '-fPIC', ],
           }],
         ],

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
libv8-4.5.95.5 patches/fPIC-for-static.patch
libv8-4.5.95.4 patches/fPIC-for-static.patch
libv8-4.5.95.3 patches/fPIC-for-static.patch
libv8-4.5.95.2 patches/fPIC-for-static.patch
libv8-4.5.95.1 patches/fPIC-for-static.patch
libv8-4.5.95.0 patches/fPIC-for-static.patch