Skip to contentSkip to conversation

package/bind: drop unneeded static openssl workarounds

PATCH New Fabrice Fontaine 2 participants 2 messages Apr 13, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/bind: drop unneeded static openssl workarounds

bind can't be built statically since commit
6045904752b06a8b8e52ba8fc2e49a8548964e8d

So drop uneeded LIBS="-lz" which was added by commit 80ebf12906afc3a1e5f4e5682d4c5dc0779a556a to fix static build with openssl

Also, drop ac_cv_func_EVP_{sha256,sha384,sha512} that was also added to fix tests in static build by commit 26aefa672c96caefc17adf59a9ab3d327114ad36

---
 package/bind/bind.mk | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
package/bind/bind.mk +1 -5
index 572eacd11a..b2bbafab20 100644
@@ -55,12 +55,8 @@ endif
 
 ifeq ($(BR2_PACKAGE_OPENSSL),y)
 BIND_DEPENDENCIES += openssl
-BIND_CONF_ENV += \
-	ac_cv_func_EVP_sha256=yes \
-	ac_cv_func_EVP_sha384=yes \
-	ac_cv_func_EVP_sha512=yes
 BIND_CONF_OPTS += \
-	--with-openssl=$(STAGING_DIR)/usr LIBS="-lz" \
+	--with-openssl=$(STAGING_DIR)/usr \
 	--with-ecdsa=yes \
 	--with-eddsa=no \
 	--with-aes=yes
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 package/bind: drop unneeded static openssl workarounds

Quoted 7 lines · On Sat, 13 Apr 2019 17:04:53 +0200 Fabrice Fontaine…

bind can't be built statically since commit
6045904752b06a8b8e52ba8fc2e49a8548964e8d

So drop uneeded LIBS="-lz" which was added by commit 80ebf12906afc3a1e5f4e5682d4c5dc0779a556a to fix static build with openssl

Quoted 8 lines

Also, drop ac_cv_func_EVP_{sha256,sha384,sha512} that was also added to fix tests in static build by commit 26aefa672c96caefc17adf59a9ab3d327114ad36

---
 package/bind/bind.mk | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com