summaryrefslogtreecommitdiff
path: root/sci-ml/onnx/files/onnx-1.18.0-don-t-hide-symbols-in-object-files.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sci-ml/onnx/files/onnx-1.18.0-don-t-hide-symbols-in-object-files.patch')
-rw-r--r--sci-ml/onnx/files/onnx-1.18.0-don-t-hide-symbols-in-object-files.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/sci-ml/onnx/files/onnx-1.18.0-don-t-hide-symbols-in-object-files.patch b/sci-ml/onnx/files/onnx-1.18.0-don-t-hide-symbols-in-object-files.patch
new file mode 100644
index 000000000000..8c9abb872a89
--- /dev/null
+++ b/sci-ml/onnx/files/onnx-1.18.0-don-t-hide-symbols-in-object-files.patch
@@ -0,0 +1,10 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -520,7 +520,6 @@
+ else()
+ add_library(onnx ${ONNX_SRCS})
+ endif()
+-set_target_properties(onnx PROPERTIES CXX_VISIBILITY_PRESET hidden)
+ set_target_properties(onnx PROPERTIES VISIBILITY_INLINES_HIDDEN ON)
+
+ target_include_directories(onnx PUBLIC