[Date Prev][Date Next] [Chronological] [Thread] [Top]

LTLINK in Makefile.in



Is there a reason why the invocations of LTLINK specify
LDFLAGS when the definition of LTLINK includes LDFLAGS
itself?

LTLINK  = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS)

Thus LDFLAGS are specified twice which causes multiply
defined symbol errors (yes, I know that libraries should
be included in LIBS, not LDFLAGS, but this is
a artefact of Apple's build environment which is beyond
my control :-)).


-- Luke
--
Luke Howard | Darwin Developer | PADL Software Pty Ltd
www.padl.com | lukeh@darwin.apple.com | lukeh@padl.com