aboutsummaryrefslogtreecommitdiff
path: root/net/ola/patches/020-static-protoc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net/ola/patches/020-static-protoc.patch')
-rw-r--r--net/ola/patches/020-static-protoc.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/ola/patches/020-static-protoc.patch b/net/ola/patches/020-static-protoc.patch
new file mode 100644
index 000000000..0b88c6f41
--- /dev/null
+++ b/net/ola/patches/020-static-protoc.patch
@@ -0,0 +1,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])],