php: fix build error for snmp extension
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Sat, 2 Jun 2012 05:09:03 +0000 (05:09 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 4 Jun 2012 21:27:48 +0000 (23:27 +0200)
PHP requires that net-snmp be built with the ability to load MIB code,
so force it on when the extension is enabled.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/php/Config.ext

index fa73bb4de00910dc6d16350cdd1d5052daa736de..80bab70da31d9d5d8157dad103c537fd194a3858 100644 (file)
@@ -219,6 +219,7 @@ config BR2_PACKAGE_PHP_EXT_FTP
 config BR2_PACKAGE_PHP_EXT_SNMP
        bool "SNMP"
        select BR2_PACKAGE_NETSNMP
+       select BR2_PACKAGE_NETSNMP_ENABLE_MIBS
        help
          SNMP support