summarylogtreecommitdiffstats
path: root/020-openvino-use-protobuf-shared-libs.patch
diff options
context:
space:
mode:
authorDaniel Bermond2023-09-18 14:24:13 -0300
committerDaniel Bermond2023-09-18 14:24:13 -0300
commitc014e7a255e31ef9645acc1b9e63dc5b11efc31d (patch)
tree4c18e2746b66910280667dbe1b5fa349c4e3c435 /020-openvino-use-protobuf-shared-libs.patch
parent39a41137aae607fb7560dd0fb81779e779670929 (diff)
downloadaur-c014e7a255e31ef9645acc1b9e63dc5b11efc31d.tar.gz
Match latest upstream changes
Diffstat (limited to '020-openvino-use-protobuf-shared-libs.patch')
-rw-r--r--020-openvino-use-protobuf-shared-libs.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/020-openvino-use-protobuf-shared-libs.patch b/020-openvino-use-protobuf-shared-libs.patch
index 4c7f39c38996..e5bbff35e5b5 100644
--- a/020-openvino-use-protobuf-shared-libs.patch
+++ b/020-openvino-use-protobuf-shared-libs.patch
@@ -1,11 +1,11 @@
--- a/thirdparty/dependencies.cmake
+++ b/thirdparty/dependencies.cmake
-@@ -442,7 +442,7 @@ if(ENABLE_OV_PADDLE_FRONTEND OR ENABLE_OV_ONNX_FRONTEND OR ENABLE_OV_TF_FRONTEND
- if(ENABLE_SYSTEM_PROTOBUF)
+@@ -410,7 +410,7 @@ if(ENABLE_OV_PADDLE_FRONTEND OR ENABLE_OV_ONNX_FRONTEND OR ENABLE_OV_TF_FRONTEND
# Note: Debian / Ubuntu / RHEL libprotobuf.a can only be used with -DBUILD_SHARED_LIBS=OFF
# because they are compiled without -fPIC
-- set(Protobuf_USE_STATIC_LIBS ON)
-+ set(Protobuf_USE_STATIC_LIBS OFF)
+ if(NOT DEFINED Protobuf_USE_STATIC_LIBS)
+- set(Protobuf_USE_STATIC_LIBS ON)
++ set(Protobuf_USE_STATIC_LIBS OFF)
+ endif()
if(CMAKE_VERBOSE_MAKEFILE)
set(Protobuf_DEBUG ON)
- endif()