Re: PL compilations ignores LDFLAGS - Mailing list pgsql-hackers

From Tom Lane
Subject Re: PL compilations ignores LDFLAGS
Date
Msg-id 2006.1240512447@sss.pgh.pa.us
Whole thread Raw
In response to Re: PL compilations ignores LDFLAGS  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
Responses Re: PL compilations ignores LDFLAGS  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
List pgsql-hackers
Zdenek Kotala <Zdenek.Kotala@Sun.COM> writes:
> I supposed to do something like this for libpq, libpgtypes and so on.

> *** pgsql.orig.d976d4abedca/src/interfaces/libpq/Makefile    2009-04-23 20:07:21.178749132 +0200
> --- pgsql.orig/src/interfaces/libpq/Makefile    2009-04-23 20:07:21.194173674 +0200
> ***************
> *** 65,70 ****
> --- 65,71 ----
>   endif 
>   SHLIB_EXPORTS = exports.txt
> + rpath = "" 
>   all: all-lib

That seems like a pretty awful idea.  How do you know that the rpath
isn't being used to pick up stuff like openssl?

> For plctl.so I suggest to use path to libtcl.so which can be detect in configure.

I believe that we expect to get any required switches for that out of
the TCL_LIB_SPEC and/or TCL_LIBS variables, which we get from tclconfig.
I wonder if you are working with an improperly configured Tcl
installation.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bill Moran
Date:
Subject: Re: Why do we let CREATE DATABASE reassign encoding?
Next
From: Andrew Dunstan
Date:
Subject: Re: Why do we let CREATE DATABASE reassign encoding?