Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
re: CVS commit: sharesrc
Module Name: sharesrc
Committed By: mycroft
Date: Sat Mar 25 23:15:13 UTC 2000
Modified Files:
sharesrc/share/mk: bsd.prog.mk
Log Message:
When linking with $DESTDIR, use an explicit -R to get library dependencies
correct.
this is the changed line:
- ${CC} ${LDFLAGS} ${LDSTATIC} -o ${.TARGET} -nostdlib
-L${DESTDIR}/usr/lib ${LIBCRT0} ${LIBCRTBEGIN} ${OBJS} ${LDADD} -lgcc -lc -lgcc
${LIBCRTEND}
+ ${CC} ${LDFLAGS} ${LDSTATIC} -o ${.TARGET} -nostdlib
-L${DESTDIR}/usr/lib -R${DESTDIR}/usr/lib ${LIBCRT0} ${LIBCRTBEGIN} ${OBJS}
${LDADD} -lgcc -lc -lgcc ${LIBCRTEND}
it seems to be that this is wrong. we do *not* want to write $DESTDIR/usr/lib
as the runtime path into each binary.. i want my install binaries to use the
normal, standard, path, not some random, ah-hoc directory, that i decided to
use as my $DESTDIR for this build.
Home |
Main Index |
Thread Index |
Old Index