From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] scons: fix library installation directory
Date: Thu, 11 Oct 2012 22:28:48 +0200 [thread overview]
Message-ID: <87fw5k4utb.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <1349821556-17510-1-git-send-email-gustavo@zacarias.com.ar> (Gustavo Zacarias's message of "Tue, 9 Oct 2012 19:25:56 -0300")
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:
Gustavo> On gentoo systems SCons setup.py tries to install into
Gustavo> $(HOST_DIR)/usr/lib64 but SCons looks up for its stuff in
Gustavo> $(HOST_DIR)/usr/lib instead hence breaking.
Gustavo> Make it install into $(HOST_DIR)/usr/lib by force to avoid the issue, it
Gustavo> shouldn't matter on other distributions.
Gustavo> Version bumping doesn't fix it.
Gustavo> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Gustavo> ---
Gustavo> package/scons/scons.mk | 2 +-
Gustavo> 1 files changed, 1 insertions(+), 1 deletions(-)
Gustavo> diff --git a/package/scons/scons.mk b/package/scons/scons.mk
Gustavo> index 2aed62c..878dcba 100644
Gustavo> --- a/package/scons/scons.mk
Gustavo> +++ b/package/scons/scons.mk
Gustavo> @@ -7,7 +7,7 @@ define HOST_SCONS_BUILD_CMDS
Gustavo> endef
Gustavo> define HOST_SCONS_INSTALL_CMDS
Gustavo> - (cd $(@D); python setup.py install --prefix=$(HOST_DIR)/usr)
Gustavo> + (cd $(@D); python setup.py install --prefix=$(HOST_DIR)/usr --install-lib=$(HOST_DIR)/usr/lib/scons-$(SCONS_VERSION))
Committed with the line wrapped after ~80 chars, thanks.
--
Bye, Peter Korsgaard
prev parent reply other threads:[~2012-10-11 20:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-09 22:25 [Buildroot] [PATCH] scons: fix library installation directory Gustavo Zacarias
2012-10-11 20:28 ` Peter Korsgaard [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=87fw5k4utb.fsf@macbook.be.48ers.dk \
--to=jacmet@uclibc.org \
--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