From 2c739424785ed032b8082841e7e6ef82b8f23c69 Mon Sep 17 00:00:00 2001 From: jlam Date: Thu, 9 Jun 2005 17:01:11 +0000 Subject: Fix test to that it's possible to check correctness when COMPILER_RPATH_FLAG is "-Wl,-rpath,". --- regress/buildlink-transform/tests/rpath-merge.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/regress/buildlink-transform/tests/rpath-merge.mk b/regress/buildlink-transform/tests/rpath-merge.mk index edaa6e31aca..cf588c50e5e 100644 --- a/regress/buildlink-transform/tests/rpath-merge.mk +++ b/regress/buildlink-transform/tests/rpath-merge.mk @@ -1,9 +1,9 @@ -# $NetBSD: rpath-merge.mk,v 1.1 2005/06/08 05:49:21 jlam Exp $ +# $NetBSD: rpath-merge.mk,v 1.2 2005/06/09 17:01:11 jlam Exp $ .PHONY: rpath-merge do-regress: rpath-merge rpath-merge: - @test="${COMPILER_RPATH_FLAG} -Wl,${LOCALBASE}/lib:${LOCALBASE}/lib/foo"; \ + @test="${COMPILER_RPATH_FLAG:S/,$//} -Wl,${LOCALBASE}/lib:${LOCALBASE}/lib/foo"; \ case "${_USE_RPATH}" in \ [yY][eE][sS]) \ expected="${COMPILER_RPATH_FLAG}${LOCALBASE}/lib ${COMPILER_RPATH_FLAG}${LOCALBASE}/lib/foo"; \ -- cgit v1.2.3