diff options
author | grant <grant> | 2003-06-05 02:20:03 +0000 |
---|---|---|
committer | grant <grant> | 2003-06-05 02:20:03 +0000 |
commit | 7055571cf114b0265eabff1608c48553668f1fc4 (patch) | |
tree | b02b2f2c94a262ee5a3ef069014462071eef5188 /lang/gcc | |
parent | 7aea726f6e25f7cee9040b5933e371d25a6d4001 (diff) | |
download | pkgsrc-7055571cf114b0265eabff1608c48553668f1fc4.tar.gz |
add -L${PREFIX}/gcc-2.95.3/lib to LDFLAGS if USE_GCC_SHLIB is defined,
so packages built with this can find shared libstdc++.
s/-R/${RPATH_FLAG}/ while I'm here.
Diffstat (limited to 'lang/gcc')
-rw-r--r-- | lang/gcc/buildlink2.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/gcc/buildlink2.mk b/lang/gcc/buildlink2.mk index 68d4b1c0dd3..b88acf29d88 100644 --- a/lang/gcc/buildlink2.mk +++ b/lang/gcc/buildlink2.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink2.mk,v 1.11 2003/05/29 23:14:12 grant Exp $ +# $NetBSD: buildlink2.mk,v 1.12 2003/06/05 02:20:03 grant Exp $ .if !defined(GCC2_BUILDLINK2_MK) GCC2_BUILDLINK2_MK= # defined @@ -28,7 +28,7 @@ _GCC_PREFIX= ${BUILDLINK_PREFIX.gcc}/${_GCC_SUBPREFIX} _GCC_ARCHSUBDIR= lib/gcc-lib/${MACHINE_GNU_PLATFORM}/2.95.3 _GCC_ARCHDIR= ${_GCC_PREFIX}${_GCC_ARCHSUBDIR} -BUILDLINK_LDFLAGS.gcc= -L${_GCC_ARCHDIR} -Wl,-R${_GCC_ARCHDIR} +BUILDLINK_LDFLAGS.gcc= -L${_GCC_ARCHDIR} -Wl,${RPATH_FLAG}${_GCC_ARCHDIR} -L${_GCC_PREFIX}lib -Wl,${RPATH_FLAG}${_GCC_PREFIX}lib _GCC_VERSION!= ( gcc -dumpversion ) 2>/dev/null || ${ECHO} 0 # |