2009-12-07 Yaar Schnitman <yaar@chromium.org>
[WebKit-https.git] / WebKit / chromium / WebKit.gyp
index d7bd30db8da2a6237d9e42d3059ccf595fb91dab..7c0d9132da962b73bd9d003fb041129d8d369a02 100644 (file)
@@ -40,6 +40,9 @@
                 # Webkit is being built outside of the full chromium project.
                 # e.g. via build-webkit --chromium
                 'chromium_src_dir': '.',
+                # FIXME: To enable shared_library in linux all code (including
+                # dependencies) must be complied with -fPIC flag. That is
+                # pending on changes in gyp.
                 'webkit_target_type': 'shared_library',
             },{
                 # WebKit is checked out in src/chromium/third_party/WebKit
             ['OS=="mac"', {
                 'chromium_code': 1,
             }],
+            # FIXME: To enable shared_library in linux all code (including
+            # dependencies) must be complied with -fPIC flag. That is
+            # pending on changes in gyp.
+            ['OS=="linux" or OS=="freebsd"', {
+              'webkit_target_type': 'static_library',
+            }],
         ],
     },
     'targets': [