From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/cargo: pass appropriate library path to the linker
Date: Mon, 28 Jan 2019 18:15:02 +0100 [thread overview]
Message-ID: <877eeoemax.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <20181228132551.29819-1-thomas.petazzoni@bootlin.com> (Thomas Petazzoni's message of "Fri, 28 Dec 2018 14:25:50 +0100")
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@bootlin.com> writes:
> When linking the host cargo binary, the linker should be told to find
> libraries in $(HOST_DIR)/lib, otherwise it will not work libraries
> such as libhttp_parser. This was found with per-package directory
> support, where the build failed with:
> = note: /usr/bin/ld: cannot find -lhttp_parser
> collect2: error: ld returned 1 exit status
> In order to fix this, instead of passing -L$(HOST_DIR)/lib during the
> build of Cargo, we make sure all flags in $(HOST_LDFLAGS) are passed.
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Committed to 2018.02.x and 2018.11.x, thanks.
--
Bye, Peter Korsgaard
prev parent reply other threads:[~2019-01-28 17:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-28 13:25 [Buildroot] [PATCH] package/cargo: pass appropriate library path to the linker Thomas Petazzoni
2019-01-17 22:04 ` Peter Korsgaard
2019-01-28 17:15 ` 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=877eeoemax.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox