Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] Enabling static libraries build for netsnmp package
@ 2013-11-18 15:02 universe II
  2013-12-25 17:02 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: universe II @ 2013-11-18 15:02 UTC (permalink / raw)
  To: buildroot

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 <universeii@gmx.de>

diff -purN netsnmp_orig/netsnmp.mk netsnmp/netsnmp.mk
--- netsnmp_orig/netsnmp.mk     2013-09-17 13:42:07.000000000 +0200
+++ netsnmp/netsnmp.mk  2013-11-18 15:50:56.744217078 +0100
@@ -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 \

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH] Enabling static libraries build for netsnmp package
  2013-11-18 15:02 [Buildroot] [PATCH] Enabling static libraries build for netsnmp package universe II
@ 2013-12-25 17:02 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2013-12-25 17:02 UTC (permalink / raw)
  To: buildroot

Dear universe II,

On Mon, 18 Nov 2013 16:02:18 +0100, universe II wrote:
> 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
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-12-25 17:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-18 15:02 [Buildroot] [PATCH] Enabling static libraries build for netsnmp package universe II
2013-12-25 17:02 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox