Index: test/same-source-file-name/src/double-shared.gyp |
diff --git a/test/same-source-file-name/src/double-shared.gyp b/test/same-source-file-name/src/double-shared.gyp |
index 40d995f5dec670c621fa44335aad44e4cd06afbb..438b50f3f1168d6c0f9b16310f83bbecd67ac320 100644 |
--- a/test/same-source-file-name/src/double-shared.gyp |
+++ b/test/same-source-file-name/src/double-shared.gyp |
@@ -6,6 +6,7 @@ |
'targets': [ |
{ |
'target_name': 'lib', |
+ 'product_name': 'test_shared_lib', |
'type': 'shared_library', |
'sources': [ |
'prog2.c', |
@@ -16,6 +17,11 @@ |
'defines': [ |
'PROG="prog2"', |
], |
+ 'conditions': [ |
+ ['OS=="linux"', { |
+ 'cflags': ['-fPIC'], |
+ }], |
+ ], |
}, |
], |
} |