Index: ppapi/ppapi.gyp |
diff --git a/ppapi/ppapi.gyp b/ppapi/ppapi.gyp |
index 8d1d6c08bf3d85514077cbbf78c09c4af8b82063..f1eb48f91cbd0c7faa941ffacadd68248fab4d99 100644 |
--- a/ppapi/ppapi.gyp |
+++ b/ppapi/ppapi.gyp |
@@ -17,7 +17,7 @@ |
# TODO(ajwong): For internal pepper plugins, which are statically linked |
# into chrome, do we want to build w/o -fPIC? If so, how can we express |
# that in the build system? |
- ['OS=="linux" or OS=="openbsd" or OS=="freebsd" or OS=="solaris"', { |
+ ['os_posix == 1 and OS != "mac"', { |
'cflags': ['-fPIC', '-fvisibility=hidden'], |
# This is needed to make the Linux shlib build happy. Without this, |