Re: [PATCHES] HEAD doesn't cope with libraries in non-default - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [PATCHES] HEAD doesn't cope with libraries in non-default
Date
Msg-id 200507130210.j6D2AMY16598@candle.pha.pa.us
Whole thread Raw
In response to Re: [PATCHES] HEAD doesn't cope with libraries in non-default  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: [PATCHES] HEAD doesn't cope with libraries in non-default  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers

Patch applied.  Thanks.

---------------------------------------------------------------------------


Peter Eisentraut wrote:
> I wrote:
> > So either we code up some intelligence to put the "C" in the right
> > position or we have to pass down "A B" and "D" separately from the
> > main makefile.
> 
> The following patch might just do the former.  Please try it out.
> 
> 
> diff -ur ../cvs-pgsql/src/Makefile.shlib ./src/Makefile.shlib
> --- ../cvs-pgsql/src/Makefile.shlib     2005-07-04 16:32:57.000000000 +0200
> +++ ./src/Makefile.shlib        2005-07-05 22:02:10.556162778 +0200
> @@ -240,7 +240,7 @@
>    SHLIB_LINK           += -ltermcap -lstdc++.r4 -lbind -lsocket -L/boot/develop/lib/x86
>  endif
> 
> -SHLIB_LINK := $(filter -L%, $(LDFLAGS)) $(SHLIB_LINK)
> +SHLIB_LINK := $(filter -L%, $(SHLIB_LINK)) $(filter -L%, $(LDFLAGS)) $(filter-out -L%, $(SHLIB_LINK))
>  ifeq ($(enable_rpath), yes)
>  SHLIB_LINK += $(rpath)
>  endif
> 
> 
> -- 
> Peter Eisentraut
> http://developer.postgresql.org/~petere/
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
> 

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: PL/Perl list value return causes segfault
Next
From: Bruce Momjian
Date:
Subject: Re: [PATCHES] thousands comma numeric formatting in psql