From patchwork Sat May 30 21:03:07 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 478494 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id EC00E140F9B for ; Sun, 31 May 2015 07:03:27 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 171C632EA7; Sat, 30 May 2015 21:03:27 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MOefWq36gB5G; Sat, 30 May 2015 21:03:25 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 10BE032E85; Sat, 30 May 2015 21:03:25 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 133A61C0BE1 for ; Sat, 30 May 2015 21:03:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 0FE2A9592E for ; Sat, 30 May 2015 21:03:23 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8WyBO2zrkDrr for ; Sat, 30 May 2015 21:03:21 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout01.t-online.de (mailout01.t-online.de [194.25.134.80]) by hemlock.osuosl.org (Postfix) with ESMTPS id 9771195914 for ; Sat, 30 May 2015 21:03:21 +0000 (UTC) Received: from fwd23.aul.t-online.de (fwd23.aul.t-online.de [172.20.26.128]) by mailout01.t-online.de (Postfix) with SMTP id 848B659583B for ; Sat, 30 May 2015 23:03:19 +0200 (CEST) Received: from fli4l.lan.fli4l (rACWQeZLYhXnSzKsKAluS8ZgmGKobzzFOGDKYLoCTwkT1lQabexVfSv0eFv7YwvgUi@[79.247.129.16]) by fwd23.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1YynuQ-1WQvKq0; Sat, 30 May 2015 23:03:10 +0200 Received: from fli4lbuild64.lan.fli4l ([192.168.1.51]:44359) by fli4l.lan.fli4l with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.85) (envelope-from ) id 1YynuQ-0002GB-1S; Sat, 30 May 2015 23:03:10 +0200 From: Bernd Kuhls To: buildroot@buildroot.org Date: Sat, 30 May 2015 23:03:07 +0200 Message-Id: <1433019787-12686-1-git-send-email-bernd.kuhls@t-online.de> X-Mailer: git-send-email 1.7.10.4 X-ID: rACWQeZLYhXnSzKsKAluS8ZgmGKobzzFOGDKYLoCTwkT1lQabexVfSv0eFv7YwvgUi X-TOI-MSGID: 95ea0092-3d82-4bd1-b3d0-44917930b88f Cc: Bernd Kuhls Subject: [Buildroot] [PATCH 1/1] package/php: Add -lpthread to detect sqlite for static build X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Fixes http://autobuild.buildroot.net/results/e69/e6993d66aeebbe994063a60871412b2235ce5455/ Signed-off-by: Bernd Kuhls --- 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 endif ### PDO