public inbox for libffi-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Samuli Suominen <ssuominen@gentoo.org>
To: libffi-discuss@sourceware.org
Subject: Re: libffi does not respect libdir configuration
Date: Wed, 20 Aug 2014 07:19:00 -0000	[thread overview]
Message-ID: <53F44B9A.30208@gentoo.org> (raw)
In-Reply-To: <CAN_vV2javB3WrhzjTmLp1AqzUiqdjdesPTjox0U+dvnQECkBzg@mail.gmail.com>


On 19/08/14 23:55, Paolo Borelli wrote:
> Hi,
>
>     as far as I can see it seems libffi always installs in the
> $(prefix)/lib64 directory, even when building with a specifc
> --libdir=$prefix/lib configuration.
>
> I am seeing this problem on a centos 6 system when building the 3.0.13 tarball.
>
> This is a major problem when trying to build the gtk stack since
> jhbuild (which is gtk's conventional build tool) enforces the use of
> lib over lib64 for all the other libraries.
>
>
> Thanks,
>
>      Paolo

This has been a problem for Gentoo as well, so we are simply overriding
it using 1-liner sed:

sed -i -e 's:@toolexeclibdir@:$(libdir):g' Makefile.in

(And making sure the generated libffi.pc after install is still is OK as
a precaution)

I'm just saying as a hint, for any other packagers who don't want the
overly smart logic from
configure to be used.

- Samuli

      reply	other threads:[~2014-08-20  7:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-19 20:55 Paolo Borelli
2014-08-20  7:19 ` Samuli Suominen [this message]

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=53F44B9A.30208@gentoo.org \
    --to=ssuominen@gentoo.org \
    --cc=libffi-discuss@sourceware.org \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).