diff --git a/configure b/configure index 3096c9982..709288cb1 100755 --- 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 diff --git a/dnstap/dnstap.m4 b/dnstap/dnstap.m4 index ea044e97a..9ca6d2790 100644 --- a/dnstap/dnstap.m4 +++ b/dnstap/dnstap.m4 @@ -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 ])