gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Why does GNUstep Make add -libobjc to tools / apps?


From: David Chisnall
Subject: Why does GNUstep Make add -libobjc to tools / apps?
Date: Tue, 17 Nov 2009 16:49:34 +0000

Is there a sensible reason why GNUstep Make adds -lobjc to the end of the linker flags for tools and apps (which already link against -base, which links against libobjc)? In a number of projects I'm experiencing problems with this because the GNUmakefile specifies -L/ usr/lib as a linker flag and so these apps are linking against the libobjc found there, overriding the one that GNUstep linked against, and then causing link failures because the system libobjc is missing some symbols...

Omitting -lobjc would fix this, but GNUstep Make doesn't seem to provide an easy way of doing that (or, in fact, anything, but that's a different complaint).

David

-- Sent from my PDP-11





reply via email to

[Prev in Thread] Current Thread [Next in Thread]