hertzg / gyp

Automatically exported from code.google.com/p/gyp
0 stars 0 forks source link

Add libraries to linking for leaf dependants #241

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I have a target Bar that uses third-party library Foo (libFoo.so, Foo.dll or 
libFoo.dylib), but produces static_library
2. Several other executable or shared_library targets indirectly depends on 
target Bar
3. How can I specify within the description of target Bar that all dependent 
executables or shared_library should link with Foo. I may also need to specify 
additional linking directories where (.so, .dll or .dylib) will need to be 
searched for.

What is the expected output? What do you see instead?
Currently it is only possible to affect direct dependents with 
"direct_dependent_settings" and I have to propagate settings through entire 
dependency tree to final executable or shared_library using 
"export_dependent_settings".

What version of the product are you using? On what operating system?
gyp_chromium

Please provide any additional information below.

Original issue reported on code.google.com by rryk...@gmail.com on 13 Dec 2011 at 12:37

GoogleCodeExporter commented 9 years ago
Correction. I meant that I need to specify additional linking directories where 
*.a, and *.lib will need to be searched for.

Original comment by rryk...@gmail.com on 13 Dec 2011 at 12:40