Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: universe II <universeii@gmx.de>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] Enabling static libraries build for netsnmp package
Date: Mon, 18 Nov 2013 16:02:18 +0100	[thread overview]
Message-ID: <528A2BFA.4040102@gmx.de> (raw)

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 \

             reply	other threads:[~2013-11-18 15:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-18 15:02 universe II [this message]
2013-12-25 17:02 ` [Buildroot] [PATCH] Enabling static libraries build for netsnmp package Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=528A2BFA.4040102@gmx.de \
    --to=universeii@gmx.de \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox