From: | Vsevolod Lobko <seva(at)sevasoft(dot)kiev(dot)ua> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Brent Verner <brent(at)rcfile(dot)org>, 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: | pltcl build problem on FreeBSD (was: Re: pltlc and pltlcu problems) |
Date: | 2002-01-23 09:11:16 |
Message-ID: | 20020123111115.A7382@piglet.ipnet |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-sql |
On Sun, Jan 20, 2002 at 07:16:50PM -0500, Tom Lane wrote:
> 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[^ ]*//'
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?
From | Date | Subject | |
---|---|---|---|
Next Message | Zeugswetter Andreas SB SD | 2002-01-23 09:29:10 | Re: Schemas vs. PostQUEL: resolving qualified identifiers |
Previous Message | Zeugswetter Andreas SB SD | 2002-01-23 09:11:13 | Re: RFD: schemas and different kinds of Postgres objects |
From | Date | Subject | |
---|---|---|---|
Next Message | Lamar Owen | 2002-01-23 12:49:36 | Red Hat 7.2 Regression failures (Re: pltcl build problem on FreeBSD (was: Re: pltlc and pltlcu problems)) |
Previous Message | Frank Joerdens | 2002-01-23 01:14:06 | Re: importing data from Filemaker: weird newline characters |