Re: how to compile postgresql with other version of openssl? - Mailing list pgsql-general

From Michael Paquier
Subject Re: how to compile postgresql with other version of openssl?
Date
Msg-id CAB7nPqQDd_TgG67bs1j8mGYrG+4S=quL4HtBBL=3q+cMBm3vsQ@mail.gmail.com
Whole thread Raw
In response to how to compile postgresql with other version of openssl?  ("krzf83@gmail.com " <krzf83@gmail.com>)
Responses Re: how to compile postgresql with other version of openssl?  ("krzf83@gmail.com " <krzf83@gmail.com>)
List pgsql-general
On Sun, Jul 26, 2015 at 2:55 PM, krzf83@gmail.com <krzf83@gmail.com> wrote:
> Postgresql is first linux program based on automake I've ever seen
> (and i've been compiling linux stuff nice 1999) that does not allow
> specyfying lib locations on ./configure like
> (like --with-openssl=/path/to/openssl)

You could use CFLAGS and LDFLAGS for this purpose:
./configure CFLAGS="-I/usr/openssl-0.9.8zg/include" \
    LDFLAGS="-L/usr/openssl-0.9.8zg/lib" \
    --with-openssl
--
Michael


pgsql-general by date:

Previous
From: "krzf83@gmail.com "
Date:
Subject: how to compile postgresql with other version of openssl?
Next
From: "krzf83@gmail.com "
Date:
Subject: Re: how to compile postgresql with other version of openssl?