[krbdev.mit.edu #1261] Creation of shared libraries ignore --with-ldopts

Tom Yu via RT rt-comment at krbdev.mit.edu
Fri Nov 15 19:30:03 EST 2002


>>>>> "Ezra" == Ezra Peisach via RT <rt-comment at krbdev.mit.edu> writes:

Ezra> a) config/lib.in: Change the invocation of LDCOMBINE in the creation 
Ezra> of the library to include $(LDFLAGS)

Ezra> This would make the --ldopts a global change for all architectures.

One possible problem with this is that LDFLAGS is meant to be used
during program link time.  It is therefore intended to be suitable for
passing to the compiler driver.  Different architectures vary as to
whether they use ld or $(CC) to build shared libraries, and we'd have
to account for the possibility that LDFLAGS that are suitable for the
compiler driver might not be suitable for ld.

---Tom



More information about the krb5-bugs mailing list