Index: build/standalone.gypi |
diff --git a/build/standalone.gypi b/build/standalone.gypi |
index 56b487bd00289bab4cdc8b67e798a69826b342e8..81909f19a865818cb6b4c6a17232ecdec091cbe3 100644 |
--- a/build/standalone.gypi |
+++ b/build/standalone.gypi |
@@ -89,6 +89,9 @@ |
[ 'visibility=="hidden"', { |
'cflags': [ '-fvisibility=hidden' ], |
}], |
+ [ 'component=="shared_library"', { |
+ 'cflags': [ '-fPIC', ], |
+ }], |
], |
}, |
}], # 'OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"' |