Enabling static libraries build for netsnmp package
PATCH 1/1 Enabling static libraries build for netsnmp package
As many embedded SW systems do no allow usage of shared libraries, I was wondering why the netsnmp package creates shared libraries only. The following patch enables the generation of static libraries additionally to the shared ones.
Regards,
Andreas
signed-off-by Andreas Ehmanns <[email protected]>
netsnmp.mk 2013-11-18 15:50:56.744217078 +0100 renamed from netsnmp.mk 2013-09-17 13:42:07.000000000 +0200 +1 -2
@@ -11,7 +11,7 @@ NETSNMP_LICENSE = Various BSD-like NETSNMP_LICENSE_FILES = COPYING NETSNMP_INSTALL_STAGING = YES NETSNMP_CONF_ENV = ac_cv_NETSNMP_CAN_USE_SYSCTL=yes -NETSNMP_CONF_OPT = --with-persistent-directory=/var/lib/snmp --disable-static \ +NETSNMP_CONF_OPT = --with-persistent-directory=/var/lib/snmp \ --with-defaults --enable-mini-agent --without-rpm \ --with-logfile=none --without-kmem-usage $(DISABLE_IPV6) \
--enable-as-needed --without-perl-modules \
Thomas Petazzoni
AppliedPATCH 1/1 Enabling static libraries build for netsnmp package
Dear universe II,
Quoted 4 lines · universe II
As many embedded SW systems do no allow usage of shared libraries, I was wondering why the netsnmp package creates shared libraries only. The following patch enables the generation of static libraries additionally to the shared ones.
Thanks, applied, after adjusting the commit log.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com