summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2018-02-24 13:42:58 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2018-02-25 21:48:07 +0100
commitb395b71d730f017b6a40d53165648a5fb2b500df (patch)
tree5d49cb3cdc9a7527cca9607f314238f5c0eab2e7
parenta15442aec768ad58211bace58f5ae167c8c9892e (diff)
downloadptxdist-b395b71d730f017b6a40d53165648a5fb2b500df.tar.gz
ptxdist-b395b71d730f017b6a40d53165648a5fb2b500df.tar.xz
php5: link with -lpthread if sqlite3 is enabled
It uses pthread_join(). This becomes visible when building without la files. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/php5.make2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/php5.make b/rules/php5.make
index cc9dc8e10..1a6b7e187 100644
--- a/rules/php5.make
+++ b/rules/php5.make
@@ -259,7 +259,7 @@ ifdef PTXCONF_PHP5_EXT_SQLITE3
PHP5_AUTOCONF += --with-sqlite3=$(PTXDIST_SYSROOT_TARGET)/usr --with-pdo-sqlite
# broken config system: sqlite3 (local copy) uses it
# but it is only linked to if used by external dependencies
-PHP5_CONF_ENV += PHP_LDFLAGS=-ldl
+PHP5_CONF_ENV += PHP_LDFLAGS="-ldl -lpthread"
else
PHP5_AUTOCONF += --without-sqlite3 --without-pdo-sqlite
endif