From: Michael Heimpold Date: Sun, 27 Apr 2025 14:18:02 +0000 (+0200) Subject: php8: pass configure hints for snmp extension X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=b523439c903b41ccb6ef35657195693ae6f17561;p=feed%2Fpackages.git php8: pass configure hints for snmp extension The 'snmp' extension module uses net-snmp as library, but fails to detect whether the library uses openssl when cross-compiling. Pass the according autoconf variables as hint - net-snmp is not using openssl at the moment as defined in the Makefile. Signed-off-by: Michael Heimpold --- diff --git a/lang/php8/Makefile b/lang/php8/Makefile index d52ef54e45..6aa2f565c8 100644 --- a/lang/php8/Makefile +++ b/lang/php8/Makefile @@ -396,6 +396,9 @@ endif ifneq ($(SDK)$(CONFIG_PACKAGE_php8-mod-snmp),) CONFIGURE_ARGS+= --with-snmp=shared,"$(STAGING_DIR)/usr" + CONFIGURE_VARS+= \ + ac_cv_have_decl_usmHMAC192SHA256AuthProtocol=no \ + ac_cv_have_decl_usmHMAC384SHA512AuthProtocol=no else CONFIGURE_ARGS+= --without-snmp endif