Le 26 mai 06 à 23:27, Yen-Ju Chen a écrit :

Fixed by adding LDFLAGS,
though I don't exactly know why it works in this way. :)

On 5/26/06, Günther Noack <[EMAIL PROTECTED]> wrote:

When I try to run the UnitKit tests I wrote, ukrun stops with the
error that the RSSFeed class had not been linked against RSSKit (see
below), although I explicitely demanded for it in the GNUmakefile
that belongs to the test bundle. Has somebody of you had similar
experiences? How do I fix this?

Here is my take or explanation about this issue…

From the commit r851:

 #RSSKitTests_LIBRARIES_DEPEND_UPON = -lRSSKit
 RSSKitTests_OBJC_LIBS= -lUnitKit -lRSSKit

 RSSKitTests_LDFLAGS = -lUnitKit -lRSSKit

Well, LIBRARIES_DEPEND_UPON is only for library targets when you need to have them linking other libraries iirc.

OBJC_LIBS is only for linking pure objc libraries and not the ones based on Foundation or AppKit. So I think the right choice is probably to use GUI_LIBS (the variable dedicated to AppKit based libraries) since UnitKit depends on AppKit. If UnitKit were only depending on Foundation (and not AppKit), the variable TOOL_LIBS should be used instead.

Cheers,
Quentin.

--
Quentin Mathé
[EMAIL PROTECTED]


_______________________________________________
Etoile-dev mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-dev

Reply via email to