Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/share/mk/bsd.lib.mk,v retrieving revision 1.240 retrieving revision 1.241 diff -u -p -r1.240 -r1.241 --- src/share/mk/bsd.lib.mk 2003/11/11 11:43:45 1.240 +++ src/share/mk/bsd.lib.mk 2003/11/13 05:56:30 1.241 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.lib.mk,v 1.240 2003/11/11 11:43:45 dsl Exp $ +# $NetBSD: bsd.lib.mk,v 1.241 2003/11/13 05:56:30 matt Exp $ # @(#)bsd.lib.mk 8.3 (Berkeley) 4/22/94 .include @@ -135,7 +135,7 @@ CAPICFLAGS?= ${CPPPICFLAGS} ${CPICFLAGS} APICFLAGS?= -k # XXX libraries often need the millicode functions in libgcc.a, # so we have to work around the -nostdlib: -LDADD+= `${CC} -print-libgcc-file-name` +LDADD+= -L${_GCC_LIBGCCDIR} -lgcc_pic .else @@ -434,9 +434,9 @@ lib${LIB}.so.${SHLIB_FULLVERSION}: ${SOL # We don't use INSTALL_SYMLINK here because this is just # happening inside the build directory/objdir. XXX Why does # this spend so much effort on libraries that aren't live??? XXX - ln -sf lib${LIB}.so.${SHLIB_FULLVERSION} lib${LIB}.so.${SHLIB_MAJOR}.tmp + ${HOST_LN} -sf lib${LIB}.so.${SHLIB_FULLVERSION} lib${LIB}.so.${SHLIB_MAJOR}.tmp mv -f lib${LIB}.so.${SHLIB_MAJOR}.tmp lib${LIB}.so.${SHLIB_MAJOR} - ln -sf lib${LIB}.so.${SHLIB_FULLVERSION} lib${LIB}.so.tmp + ${HOST_LN} -sf lib${LIB}.so.${SHLIB_FULLVERSION} lib${LIB}.so.tmp mv -f lib${LIB}.so.tmp lib${LIB}.so .endif