From: Vsevolod Lobko <seva@sevasoft.kiev.ua>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Brent Verner <brent@rcfile.org>
Cc: Peter Eisentraut <peter_e@gmx.net>
Cc: Murray Prior Hobbs <murray@efone.com>
Cc: Lamar Owen <lamar.owen@wgcr.org>
Cc: pgsql-hackers@postgresql.org
Subject: pltcl build problem on FreeBSD (was: Re: pltlc and pltlcu problems)
Date: Wed, 23 Jan 2002 11:11:16 +0200
Message-ID: <20020123111115.A7382@piglet.ipnet> (raw)
In-Reply-To: <7032.1011572210@sss.pgh.pa.us>
References: <Pine.LNX.4.30.0201201709400.712-100000@peter.localdomain>
<6532.1011567127@sss.pgh.pa.us>
<20020120190256.A12325@rcfile.org>
<7032.1011572210@sss.pgh.pa.us>
On Sun, Jan 20, 2002 at 07:16:50PM -0500, Tom Lane wrote:
> Brent Verner <brent@rcfile.org> writes:
> > It seems that substvar operates on each " " separated token in the
> > string. The following works for me.
>
> > override TCL_SHLIB_LD := $(shell echo $(TCL_SHLIB_LD) | sed 's/-Wl,-soname.*//')
>
> I suspect that the above works only because -Wl,-soname is the last
> switch in TCL_SHLIB_LD; any following switches would be removed too.
> Perhaps better
>
> override TCL_SHLIB_LD := $(shell echo $(TCL_SHLIB_LD) | sed 's/-Wl,-soname[^ ]*//'
Sorry, but by this you broke freebsd build which has:
TCL_SHLIB_LD = ld -shared -x -soname $@
and $@ gets substituted too early
can you restrict this hack by putting something like
ifeq ($(PORTNAME), linux)
override TCL_SHLIB_LD := $(shell echo $(TCL_SHLIB_LD) | sed 's/-Wl,-soname[^ ]*//'
endif
instead?
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: seva@sevasoft.kiev.ua, tgl@sss.pgh.pa.us, brent@rcfile.org, peter_e@gmx.net, murray@efone.com, lamar.owen@wgcr.org, pgsql-hackers@postgresql.org
Subject: Re: pltcl build problem on FreeBSD (was: Re: pltlc and pltlcu problems)
In-Reply-To: <20020123111115.A7382@piglet.ipnet>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox