[Bug 50762] New: gideon: pre-pend LDADD and LIBADD to _DEPENDENCIES in autoproject

Brian Gold bgold at vt.edu
Fri Nov 15 15:41:02 UTC 2002

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
           Summary: gideon: pre-pend LDADD and LIBADD to _DEPENDENCIES in
           Product: kdevelop
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-devel at barney.cs.uni-potsdam.de
        ReportedBy: bgold at vt.edu

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).

More information about the KDevelop-devel mailing list