From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/php: Add -lpthread to detect sqlite for static build
Date: Sun, 31 May 2015 10:30:00 +0200 [thread overview]
Message-ID: <20150531103000.2f41cdf3@free-electrons.com> (raw)
In-Reply-To: <1433019787-12686-1-git-send-email-bernd.kuhls@t-online.de>
Dear Bernd Kuhls,
On Sat, 30 May 2015 23:03:07 +0200, Bernd Kuhls wrote:
> Fixes
> http://autobuild.buildroot.net/results/e69/e6993d66aeebbe994063a60871412b2235ce5455/
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
> package/php/php.mk | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/package/php/php.mk b/package/php/php.mk
> index 8e79c49..191c48c 100644
> --- a/package/php/php.mk
> +++ b/package/php/php.mk
> @@ -204,6 +204,9 @@ endif
> ifeq ($(BR2_PACKAGE_PHP_EXT_SQLITE),y)
> PHP_CONF_OPTS += --with-sqlite3=$(STAGING_DIR)/usr
> PHP_DEPENDENCIES += sqlite
> +ifeq ($(BR2_STATIC_LIBS),y)
> +PHP_CONF_ENV += LIBS='-lpthread'
> +endif
What about:
PHP_CONF_ENV += LIBS=$(shell $(PKG_CONFIG_HOST_BINARY) --libs sqlite3)
instead ? (Note: I haven't tested, but sqlite3 seems to provide a
correct .pc file).
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
prev parent reply other threads:[~2015-05-31 8:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-30 21:03 [Buildroot] [PATCH 1/1] package/php: Add -lpthread to detect sqlite for static build Bernd Kuhls
2015-05-31 8:30 ` 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=20150531103000.2f41cdf3@free-electrons.com \
--to=thomas.petazzoni@free-electrons.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.