diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/open62541/android.patch | |
Diffstat (limited to 'vcpkg/ports/open62541/android.patch')
| -rw-r--r-- | vcpkg/ports/open62541/android.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/vcpkg/ports/open62541/android.patch b/vcpkg/ports/open62541/android.patch new file mode 100644 index 0000000..3c25618 --- /dev/null +++ b/vcpkg/ports/open62541/android.patch @@ -0,0 +1,17 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index acbd6b4971..1ed8cb72ab 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -495,10 +495,10 @@ set(open62541_LIBRARIES "") + set(open62541_PUBLIC_LIBRARIES "")
+ if("${UA_ARCHITECTURE}" STREQUAL "posix")
+ list(APPEND open62541_LIBRARIES "m")
+- if(UA_MULTITHREADING GREATER_EQUAL 100 OR UA_BUILD_UNIT_TESTS)
++ if(UA_MULTITHREADING GREATER_EQUAL 100 OR UA_BUILD_UNIT_TESTS AND NOT ANDROID)
+ list(APPEND open62541_PUBLIC_LIBRARIES "pthread")
+ endif()
+- if(NOT APPLE AND (NOT ${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD"))
++ if(NOT APPLE AND (NOT ${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD") AND NOT ANDROID)
+ list(APPEND open62541_LIBRARIES "rt")
+ endif()
+ elseif("${UA_ARCHITECTURE}" STREQUAL "win32")
|