From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas De Schampheleire Date: Sun, 26 Jul 2015 20:58:32 +0200 Subject: [Buildroot] [PATCH 4/4] php: remove redundant --static flag to pkg-config In-Reply-To: <1437937112-13269-1-git-send-email-patrickdepinguin@gmail.com> References: <1437937112-13269-1-git-send-email-patrickdepinguin@gmail.com> Message-ID: <1437937112-13269-4-git-send-email-patrickdepinguin@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net From: Thomas De Schampheleire 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 --- package/php/php.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/php/php.mk b/package/php/php.mk index 39f4e2a..4b171cf 100644 --- a/package/php/php.mk +++ b/package/php/php.mk @@ -116,7 +116,7 @@ PHP_CONF_OPTS += --with-openssl=$(STAGING_DIR)/usr PHP_DEPENDENCIES += openssl # openssl needs zlib, but the configure script forgets to link against # 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 ifeq ($(BR2_PACKAGE_PHP_EXT_LIBXML2),y) @@ -187,7 +187,7 @@ endif ifeq ($(BR2_PACKAGE_PHP_EXT_SQLITE),y) PHP_CONF_OPTS += --with-sqlite3=$(STAGING_DIR)/usr PHP_DEPENDENCIES += sqlite -PHP_STATIC_LIBS += `$(PKG_CONFIG_HOST_BINARY) --libs --static sqlite3` +PHP_STATIC_LIBS += `$(PKG_CONFIG_HOST_BINARY) --libs sqlite3` endif ### PDO -- 1.8.5.1