]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
If we find protobuf in /usr/local then also set -L to there.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Mon, 25 Aug 2014 13:17:53 +0000 (13:17 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Mon, 25 Aug 2014 13:17:53 +0000 (13:17 +0000)
git-svn-id: file:///svn/unbound/trunk@3218 be551aaa-1e26-0410-a405-d3ace91eadb9

configure
dnstap/dnstap.m4

index 3096c9982f63d990711645f1c23a6aa145e53aa2..709288cb16fc36e4b5db93419fb4a36a4285ccb1 100755 (executable)
--- a/configure
+++ b/configure
@@ -19958,6 +19958,7 @@ else
          else
            if test -f /usr/local/include/google/protobuf-c/protobuf-c.h; then
              CFLAGS="$CFLAGS -I/usr/local/include/google"
+             LDFLAGS="$LDFLAGS -L/usr/local/lib"
            fi
          fi
 
index ea044e97a45171a56dcadd68c0ba8fa76261f626..9ca6d27900dad227da62c63f5f8b9ab690c2ed84 100644 (file)
@@ -36,6 +36,7 @@ AC_DEFUN([dt_DNSTAP],
          else
            if test -f /usr/local/include/google/protobuf-c/protobuf-c.h; then
              CFLAGS="$CFLAGS -I/usr/local/include/google"
+             LDFLAGS="$LDFLAGS -L/usr/local/lib"
            fi
          fi
     ])