Index: test/library_dirs/subdir/test-win.gyp |
diff --git a/test/library_dirs/subdir/test.gyp b/test/library_dirs/subdir/test-win.gyp |
similarity index 85% |
copy from test/library_dirs/subdir/test.gyp |
copy to test/library_dirs/subdir/test-win.gyp |
index f83d7f2bf1f8ff1bf3a51455f5528b8fe0475422..033b6f7fdd03c6652d11c95fa9afa3056bd97ed9 100644 |
--- a/test/library_dirs/subdir/test.gyp |
+++ b/test/library_dirs/subdir/test-win.gyp |
@@ -22,7 +22,7 @@ |
], |
}, |
{ |
- 'target_name': 'libraries-search-path-test', |
+ 'target_name': 'libraries-search-path-test-lib-suffix', |
'type': 'executable', |
'dependencies': [ |
# It is important to NOT list the mylib as a dependency here, because |
@@ -51,17 +51,9 @@ |
'<(abs_path_to_secret_library_location)', |
], |
'link_settings': { |
- 'conditions': [ |
- ['OS=="linux"', { |
- 'libraries': [ |
- '-lmylib', |
- ], |
- }, { # else |
- 'libraries': [ |
- '<(STATIC_LIB_PREFIX)mylib<(STATIC_LIB_SUFFIX)', |
- ], |
- }], |
- ], # conditions |
+ 'libraries': [ |
+ '-lmylib.lib', |
+ ], |
}, |
}, |
], |