Re: pltlc and pltlcu problems - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pltlc and pltlcu problems
Date
Msg-id 7032.1011572210@sss.pgh.pa.us
Whole thread Raw
In response to Re: pltlc and pltlcu problems  (Brent Verner <brent@rcfile.org>)
Responses Re: pltlc and pltlcu problems  (Brent Verner <brent@rcfile.org>)
pltcl build problem on FreeBSD (was: Re: pltlc and pltlcu problems)  (Vsevolod Lobko <seva@sevasoft.kiev.ua>)
List pgsql-hackers
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[^ ]*//'
        regards, tom lane


pgsql-hackers by date:

Previous
From: Brent Verner
Date:
Subject: Re: pltlc and pltlcu problems
Next
From: Brent Verner
Date:
Subject: Re: pltlc and pltlcu problems