Bug 50762 - gideon: pre-pend LDADD and LIBADD to _DEPENDENCIES in autoproject
Summary: gideon: pre-pend LDADD and LIBADD to _DEPENDENCIES in autoproject
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: Build tools: Automake (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: KDevelop-Devel List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-15 15:40 UTC by Brian Gold
Modified: 2003-03-20 18:29 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Gold 2002-11-15 15:40:11 UTC
Version:            (using KDE KDE 3.0.9)
Installed from:    Compiled From Sources
Compiler:          gcc version 2.95.4 20011002 (Debian prerelease) 
OS:          Linux

When building a project with subdirectories that target static libraries (either library or libtool library), the dependencies for the main project are not set properly.  Touching a source file in the library project will not cause the main project to be re-linked.

Potential Fix:
Currently, the _DEPENDENCIES line in Makefile.am of the library is set to blank unless the user specifies specific dependencies.  If the LDADD and LIBADD entries were pre-pended to this list, dependencies would work properly.

Current workarounds:
Add static libraries by hand to the _DEPENDENCIES line of the main project, or used shared libaries with libtool (don't pick -all-static).
Comment 1 Caleb Tennis 2003-03-20 18:29:05 UTC
Fixed in CVS by Roberto and Amilcar.