From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/2] php: fix building curl extension.
Date: Fri, 28 Dec 2018 14:22:57 +0100 [thread overview]
Message-ID: <20181228142257.1d99b43e@windsurf> (raw)
In-Reply-To: <20181227174903.39339-1-aduskett@gmail.com>
Hello,
On Thu, 27 Dec 2018 12:49:02 -0500, aduskett at gmail.com wrote:
> From: Adam Duskett <Aduskett@gmail.com>
>
> The configure option "--with-curl=$(STAGING_DIR)/usr" is broken.
> PHP will detect libcurl.pc, which will pass the configure checks, but will then
> prepend $(STAGING_DIR)/usr to the paths in libcurl.pc.
>
> Thus php will then search $(STAGING_DIR)/usr/$(STAGING_DIR)/usr/lib/ for
> curl libraries during linking, which causes linking errors.
>
> Removing "=$(STAGING_DIR)/usr" from --with-curl fixes the issue.
>
> Fixes:
> http://autobuild.buildroot.net/results/44b/44b9ea1edca85b222a117a8e241a26b8dce33929/
> Signed-off-by: Adam Duskett <Aduskett@gmail.com>
> ---
> package/php/php.mk | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Both applied. Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
prev parent reply other threads:[~2018-12-28 13:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-27 17:49 [Buildroot] [PATCH 1/2] php: fix building curl extension aduskett at gmail.com
2018-12-27 17:49 ` [Buildroot] [PATCH 2/2] php: bump version to 7.3.0 aduskett at gmail.com
2018-12-28 13:22 ` Thomas Petazzoni [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=20181228142257.1d99b43e@windsurf \
--to=thomas.petazzoni@bootlin.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