php: remove redundant --static flag to pkg-config
The pkg-config tool is automatically passing --static when BR2_STATIC_LIBS is set (see package/pkgconf/pkgconf.mk), so no need to pass it explicitly from package .mk files. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
c38869b41b
commit
5ccde01652
@ -116,7 +116,7 @@ PHP_CONF_OPTS += --with-openssl=$(STAGING_DIR)/usr
|
|||||||
PHP_DEPENDENCIES += openssl
|
PHP_DEPENDENCIES += openssl
|
||||||
# openssl needs zlib, but the configure script forgets to link against
|
# openssl needs zlib, but the configure script forgets to link against
|
||||||
# it causing detection failures with static linking
|
# it causing detection failures with static linking
|
||||||
PHP_STATIC_LIBS += `$(PKG_CONFIG_HOST_BINARY) --libs --static openssl`
|
PHP_STATIC_LIBS += `$(PKG_CONFIG_HOST_BINARY) --libs openssl`
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_PHP_EXT_LIBXML2),y)
|
ifeq ($(BR2_PACKAGE_PHP_EXT_LIBXML2),y)
|
||||||
@ -187,7 +187,7 @@ endif
|
|||||||
ifeq ($(BR2_PACKAGE_PHP_EXT_SQLITE),y)
|
ifeq ($(BR2_PACKAGE_PHP_EXT_SQLITE),y)
|
||||||
PHP_CONF_OPTS += --with-sqlite3=$(STAGING_DIR)/usr
|
PHP_CONF_OPTS += --with-sqlite3=$(STAGING_DIR)/usr
|
||||||
PHP_DEPENDENCIES += sqlite
|
PHP_DEPENDENCIES += sqlite
|
||||||
PHP_STATIC_LIBS += `$(PKG_CONFIG_HOST_BINARY) --libs --static sqlite3`
|
PHP_STATIC_LIBS += `$(PKG_CONFIG_HOST_BINARY) --libs sqlite3`
|
||||||
endif
|
endif
|
||||||
|
|
||||||
### PDO
|
### PDO
|
||||||
|
Loading…
Reference in New Issue
Block a user