From 0f6d0af4113eb733e18c793d50d79b2746d787b9 Mon Sep 17 00:00:00 2001 From: rillig Date: Fri, 3 Nov 2006 07:28:53 +0000 Subject: The Tru64 linker does not know -h ${soname}, only -soname ${soname}. Patch provided by Hrvoje Habjanic in http://mail-index.netbsd.org/pkgsrc-users/2006/11/02/0003.html --- mk/wrapper/cmd-sink-osf1-ld | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'mk/wrapper/cmd-sink-osf1-ld') diff --git a/mk/wrapper/cmd-sink-osf1-ld b/mk/wrapper/cmd-sink-osf1-ld index 1dabe3a196f..2ddaf831bb0 100644 --- a/mk/wrapper/cmd-sink-osf1-ld +++ b/mk/wrapper/cmd-sink-osf1-ld @@ -1,4 +1,4 @@ -# $NetBSD: cmd-sink-osf1-ld,v 1.1 2004/11/20 04:37:08 grant Exp $ +# $NetBSD: cmd-sink-osf1-ld,v 1.2 2006/11/03 07:28:53 rillig Exp $ # Empty out the command buffer and build up the command line in $cmd. osf1runpath= @@ -33,6 +33,11 @@ while ! queue_is_empty cmdbuf; do esac $debug_log $wrapperlog " (cmd-sink-osf1-ld) drop: $dir [adding to osf1runpath]" ;; + -Wl,-h,*) + arg="-Wl,-soname"${arg#"-Wl,-h"} + $debug_log $wrapperlog " (cmd-sink-osf1-ld) pop: $arg" + . $buildcmd + ;; -pthread) arg="-lpthread" $debug_log $wrapperlog " (cmd-sink-osf1-ld) pop: $arg" -- cgit v1.2.3