Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/3] package/rsyslog: Fix linking against postgresql
Date: Sat, 11 Apr 2015 14:23:23 +0200	[thread overview]
Message-ID: <20150411122323.GG4221@free.fr> (raw)
In-Reply-To: <20150411141520.4060c6a3@free-electrons.com>

Thomas, Bernd, All,

On 2015-04-11 14:15 +0200, Thomas Petazzoni spake thusly:
> On Sat, 11 Apr 2015 14:07:39 +0200, Yann E. MORIN wrote:
> > Unfortunately, pg_config is a binary, so we provide our own minimalist
> > one, which does not implement --libs.
> 
> So, shouldn't we simply implement --libs in our own pg_config
> implementation?

Well, I thought that was pretty much obvious we should, yes.

However, I've had a quick look, and it's not that easy... :-(

For example, regarding the issue we're actually trying to solve: the
check rsyslog's ./configure does is eventually using _isnan() which is
in -lm, but nothing in the NEEDED of libpq.so suggests -lm is needed,
not even in the dependency chain (i.e. NEEDEDs of NEEDEDs...)

So, I can have a deeper and longer look, but that will be later. Unless
Bernd beats me to it, that is. ;-)

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

  reply	other threads:[~2015-04-11 12:23 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-11  7:52 [Buildroot] [PATCH 1/3] package/rsyslog: Autoreconf is not necessary anymore Bernd Kuhls
2015-04-11  7:52 ` [Buildroot] [PATCH 2/3] package/rsyslog: Fix linking against postgresql Bernd Kuhls
2015-04-11 10:05   ` Yann E. MORIN
2015-04-11 10:42   ` Thomas Petazzoni
2015-04-11 11:38     ` Bernd Kuhls
2015-04-11 12:07       ` Yann E. MORIN
2015-04-11 12:15         ` Thomas Petazzoni
2015-04-11 12:23           ` Yann E. MORIN [this message]
2015-08-09 10:55             ` Bernd Kuhls
2015-08-09 11:16               ` Thomas Petazzoni
2015-04-11  7:52 ` [Buildroot] [PATCH 3/3] package/rsyslog: bump version to 8.9.0 Bernd Kuhls
2015-04-11 18:00   ` Thomas Petazzoni
2015-04-11  9:17 ` [Buildroot] [PATCH 1/3] package/rsyslog: Autoreconf is not necessary anymore Yann E. MORIN

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150411122323.GG4221@free.fr \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox