diff options
| author | CoprDistGit <infra@openeuler.org> | 2026-10-10 04:31:42 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2026-10-10 04:31:42 +0000 |
| commit | 59510d7b201c909ec4cef3508bf80ba461f4967e (patch) | |
| tree | 5cc5478c2f937516c1449853020a01deaef6ed79 /poco-deal-with-libsuffix.patch | |
| parent | 9c3fcbb8a6a23e186b8ff01cf340f44718f3d99f (diff) | |
automatic import of pocoopeneuler24.03_LTS
Diffstat (limited to 'poco-deal-with-libsuffix.patch')
| -rw-r--r-- | poco-deal-with-libsuffix.patch | 12 |
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) |
