Re: pltcl build problem on FreeBSD (was: Re: pltlc and pltlcu problems)

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Vsevolod Lobko <seva@sevasoft.kiev.ua>
Cc: Brent Verner <brent@rcfile.org>, Peter Eisentraut <peter_e@gmx.net>, Murray Prior Hobbs <murray@efone.com>, Lamar Owen <lamar.owen@wgcr.org>, pgsql-hackers@postgresql.org
Date: 2002-01-23T16:08:36Z
Lists: pgsql-hackers
Vsevolod Lobko <seva@sevasoft.kiev.ua> writes:
>> 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

How annoying.  I was debating whether to use single or double quotes
around the echo parameter --- looks like I made the wrong choice.
Will fix.

			regards, tom lane