Re: pltlc and pltlcu problems

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Brent Verner <brent(at)rcfile(dot)org>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, Murray Prior Hobbs <murray(at)efone(dot)com>, Lamar Owen <lamar(dot)owen(at)wgcr(dot)org>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: pltlc and pltlcu problems
Date: 2002-01-21 00:16:50
Message-ID: 7032.1011572210@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-sql

Brent Verner <brent(at)rcfile(dot)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[^ ]*//'

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Brent Verner 2002-01-21 00:31:21 Re: pltlc and pltlcu problems
Previous Message Brent Verner 2002-01-21 00:02:57 Re: pltlc and pltlcu problems

Browse pgsql-sql by date

  From Date Subject
Next Message Brent Verner 2002-01-21 00:31:21 Re: pltlc and pltlcu problems
Previous Message Brent Verner 2002-01-21 00:02:57 Re: pltlc and pltlcu problems