aboutsummaryrefslogtreecommitdiff
path: root/net/ola/patches/020-static-protoc.patch
blob: 0b88c6f41fced502507a69a9f7b4e004c3078e1a (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/config/ola.m4
+++ b/config/ola.m4
@@ -84,7 +84,7 @@ else
       [],
       AC_MSG_ERROR([Cannot find the protoc header files]))
   SAVED_LIBS=$LIBS
-  LIBS="$LIBS -lprotoc"
+  LIBS="$LIBS -lprotoc -lprotobuf"
   AC_LINK_IFELSE(
     [AC_LANG_PROGRAM([#include <google/protobuf/compiler/command_line_interface.h>],
       [google::protobuf::compiler::CommandLineInterface cli])],