All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v3,1/1] libmpdclient: fix install
Date: Sat, 10 Mar 2018 22:20:10 +0100	[thread overview]
Message-ID: <87efkrbpbp.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <87ina3bpi3.fsf@dell.be.48ers.dk> (Peter Korsgaard's message of "Sat, 10 Mar 2018 22:16:20 +0100")

>>>>> "Peter" == Peter Korsgaard <peter@korsgaard.com> writes:

Hi,

 > It would be a lot nicer to fix the problem. I have no experience with
 > mesonbuild, but grepping around the problem seems to come from

 > is_debianlike() in mesonbuild/mesonlib.py, which looks for
 > /etc/debian_version on the host(!) so this behaviour depends on the host
 > OS. changing this to just a 'return False' fixes it for me.

 > There's other problems though. If it isn't a debianlike system, then it
 > looks if /usr/lib64 on the host(!) is a directory, and if so uses that
 > instead of usr/lib :/

 > Similary, get_library_dirs() has login to look at uname -m and again
 > look in /usr/lib64 on the host, which breaks horrible for cross
 > compilation :/

 > I guess we need to patch out all of this crap until upstream gains real
 > cross compilation support :/

 > Any takers?

Sorry, after looking closer it seems most of these are just about the
default location, so we can override then with the right values by
passing the needed arguments to meson (--libdir).

-- 
Bye, Peter Korsgaard

  reply	other threads:[~2018-03-10 21:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-10  9:46 [Buildroot] [PATCH v3,1/1] libmpdclient: fix install Fabrice Fontaine
2018-03-10 21:16 ` Peter Korsgaard
2018-03-10 21:20   ` Peter Korsgaard [this message]
2018-03-10 21:37     ` Fabrice Fontaine

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=87efkrbpbp.fsf@dell.be.48ers.dk \
    --to=peter@korsgaard.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.