0
0
mirror of https://github.com/openwrt/packages.git synced 2025-07-08 14:55:28 +00:00
Files
packages/net/ola/patches/020-static-protoc.patch
Rosen Penev 7be4cc6411 ola: update to 0.10.9
Use local tarballs instead of codeload. Smaller size.

Patch ola.m4 to support statically linked protobuf. Avoids rpath hacks.

Remove upstream backport.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2024-04-08 01:30:31 -07:00

12 lines
385 B
Diff

--- 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])],