[Pkg-net-snmp-commits] [pkg-net-snmp] 09/27: _add_lib_cflags

Hideki Yamane henrich at moszumanska.debian.org
Sun Aug 28 02:19:48 UTC 2016


This is an automated email from the git hooks/post-receive script.

henrich pushed a commit to branch patch-queue/master
in repository pkg-net-snmp.

commit 9c107d1b0b752c9dde22a103acb424722a455a5f
Author: Net-SNMP Packaging Team <pkg-net-snmp-devel at lists.alioth.debian.org>
Date:   Thu Jun 18 06:12:05 2015 +0900

    _add_lib_cflags
    
    Patch to add option "--base-lib-cflags" to net-snmp-config. This flag returns options needed to link
    against libnetsnmp. In particular, no perl specific options are provided.
    
    It was reported in
    "libsnmp-base: forcing perl headers in net-snmp-config --cflags breaks perl builds"
    http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=502806
    
    
    
    
    Gbp-Pq: Name 62_add_lib_cflags.patch
---
 net-snmp-config.in | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/net-snmp-config.in b/net-snmp-config.in
index d55872c..0831fa0 100644
--- a/net-snmp-config.in
+++ b/net-snmp-config.in
@@ -140,6 +140,9 @@ else
     --base-cflags)
       echo @CFLAGS@ @CPPFLAGS@ -I${NSC_INCLUDEDIR}
       ;;
+    --base-lib-cflags)
+      echo @LIBCFLAGS@ @CPPFLAGS@ -I${NSC_INCLUDEDIR}
+      ;;
     --cflags|--cf*)
       echo @CFLAGS@ @DEVFLAGS@ @CPPFLAGS@ -I. -I${NSC_INCLUDEDIR}
       ;;
@@ -643,6 +646,8 @@ if test "x$usage" = "xyes"; then
   echo "  These options produce the various compilation flags needed when"
   echo "  building external SNMP applications:"
   echo ""
+  echo "    --base-lib-cflags lists additional compilation flags needed for linking"
+  echo "                      against libsnmp"
   echo "    --base-cflags     lists additional compilation flags needed"
   echo "    --cflags          lists additional compilation flags needed"
   echo "                      (includes -I. and extra developer warning flags)"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-net-snmp/pkg-net-snmp.git



More information about the Pkg-net-snmp-commits mailing list