Skip to content

Commit 998a588

Browse files
committed
Fix snmp
1 parent db1a873 commit 998a588

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ Name: net-snmp
66
Description: winlib net-snmp package
77
URL: https://github.com/winlibs/net-snmp
88
Version: 5.9.4
9-
Requires: libcrypto libssl
9+
Requires: openssl
1010
Libs: -L${libdir} -lnetsnmp
1111
Cflags: -I${includedir}

ext/snmp/config.w32

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
ARG_WITH("snmp", "SNMP support", "no");
44

55
if (PHP_SNMP != "no") {
6-
if (PKG_CHECK_MODULES("SNMP", "netsnmp")) {
7-
PHP_EVAL_INCLINE(SNMP_CFLAGS, "snmp");
8-
PHP_EVAL_LIBLINE(SNMP_LIBS, "snmp")
6+
if (PKG_CHECK_MODULES("NET_SNMP", "net-snmp")) {
7+
PHP_EVAL_INCLINE(NET_SNMP_CFLAGS, "snmp");
8+
PHP_EVAL_LIBLINE(NET_SNMP_LIBS, "snmp")
99
EXTENSION('snmp', 'snmp.c');
1010
ADD_EXTENSION_DEP('snmp', 'spl');
1111
AC_DEFINE('HAVE_SNMP', 1, "Define to 1 if the PHP extension 'snmp' is available.");

0 commit comments

Comments
 (0)