Re: how to compile postgresql with other version of openssl?

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: "krzf83(at)gmail(dot)com" <krzf83(at)gmail(dot)com>
Cc: PostgreSQL mailing lists <pgsql-general(at)postgresql(dot)org>
Subject: Re: how to compile postgresql with other version of openssl?
Date: 2015-07-26 07:06:34
Message-ID: CAB7nPqQDd_TgG67bs1j8mGYrG+4S=quL4HtBBL=3q+cMBm3vsQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sun, Jul 26, 2015 at 2:55 PM, krzf83(at)gmail(dot)com <krzf83(at)gmail(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message krzf83@gmail.com 2015-07-26 23:34:01 Re: how to compile postgresql with other version of openssl?
Previous Message krzf83@gmail.com 2015-07-26 05:55:25 how to compile postgresql with other version of openssl?