summaryrefslogtreecommitdiff
path: root/poco-deal-with-libsuffix.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-10-10 04:39:43 +0000
committerCoprDistGit <infra@openeuler.org>2026-10-10 04:39:43 +0000
commit6fb49cff87f7e0a1c6939cab484b53d90944d8b1 (patch)
tree5cc5478c2f937516c1449853020a01deaef6ed79 /poco-deal-with-libsuffix.patch
parentbf20f958567c858a30e807d56a7d8a051e395868 (diff)
automatic import of pocoopeneuler25.09
Diffstat (limited to 'poco-deal-with-libsuffix.patch')
-rw-r--r--poco-deal-with-libsuffix.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/poco-deal-with-libsuffix.patch b/poco-deal-with-libsuffix.patch
new file mode 100644
index 0000000..9adeaa2
--- /dev/null
+++ b/poco-deal-with-libsuffix.patch
@@ -0,0 +1,12 @@
+--- poco-poco-1.12.5p2-release/CMakeLists.txt.orig 2025-08-23 10:35:09.617111500 +0800
++++ poco-poco-1.12.5p2-release/CMakeLists.txt 2025-08-23 10:38:06.806080300 +0800
+@@ -52,6 +52,9 @@
+
+ # Enable standard installation directories
+ include(GNUInstallDirs)
++if("${LIB_SUFFIX}" STREQUAL "" AND NOT ${CMAKE_INSTALL_LIBDIR} STREQUAL "lib")
++ STRING(REPLACE "lib" "" LIB_SUFFIX ${CMAKE_INSTALL_LIBDIR})
++endif("${LIB_SUFFIX}" STREQUAL "" AND NOT ${CMAKE_INSTALL_LIBDIR} STREQUAL "lib")
+
+ # Include some common macros to simpilfy the Poco CMake files
+ include(PocoMacros)