mirror of
https://github.com/openwrt/packages.git
synced 2026-02-04 12:06:29 +08:00
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 <mhei@heimpold.de>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user