aboutsummaryrefslogtreecommitdiff
path: root/ports/nanopb/shared-lib.patch
diff options
context:
space:
mode:
Diffstat (limited to 'ports/nanopb/shared-lib.patch')
-rw-r--r--ports/nanopb/shared-lib.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/ports/nanopb/shared-lib.patch b/ports/nanopb/shared-lib.patch
deleted file mode 100644
index 0d5960e72..000000000
--- a/ports/nanopb/shared-lib.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index b818734..174b650 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -67,6 +67,7 @@ endif()
-
- if(nanopb_BUILD_RUNTIME)
- if(BUILD_SHARED_LIBS)
-+ set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
- add_library(protobuf-nanopb SHARED
- pb.h
- pb_common.h
-@@ -79,7 +80,8 @@ if(nanopb_BUILD_RUNTIME)
- SOVERSION ${nanopb_SOVERSION})
- install(TARGETS protobuf-nanopb EXPORT nanopb-targets
- ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
-- LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
-+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
-+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
- target_include_directories(protobuf-nanopb INTERFACE
- $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
- )