From e412e3086946cdd7b1b9a1cf1ccf5bd3c63de18a Mon Sep 17 00:00:00 2001 From: jlam Date: Sun, 8 Feb 2004 02:08:21 +0000 Subject: Don't set LD to ${BUILDLINK_DIR}/bin/ld in the libtool script. --- devel/libtool-base/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'devel/libtool-base') diff --git a/devel/libtool-base/Makefile b/devel/libtool-base/Makefile index 133d52b3c1a..2c3b8d4a95a 100644 --- a/devel/libtool-base/Makefile +++ b/devel/libtool-base/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 2004/02/05 21:30:00 jlam Exp $ +# $NetBSD: Makefile,v 1.23 2004/02/08 02:08:21 jlam Exp $ # PKGNAME= ${DISTNAME:C/-/-base-/} @@ -33,6 +33,11 @@ BUILD_SHLIBTOOL= NO CONFIGURE_ARGS= --enable-ltdl-install .endif +# libtool persists in trying to find the path to ld, which always ends +# up in ${BUILDLINK_DIR}. Prevent it from caring. +# +CONFIGURE_ENV+= lt_cv_path_LD=${LD:Q} + .if !empty(MACHINE_PLATFORM:MDarwin-*-*) . include "../../devel/dlcompat/buildlink3.mk" .endif -- cgit v1.2.3