diff options
| author | CoprDistGit <infra@openeuler.org> | 2026-08-13 03:15:17 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2026-08-13 03:15:17 +0000 |
| commit | e1f205daf9fc6805fbdbfb0778c1bb2342ad14e9 (patch) | |
| tree | 3fbf04b3ed4bb1d6bfdfeb8652a8b514cb7ec484 /poco-deal-with-libsuffix.patch | |
| parent | 751879ada14a54de7983c3936d4b517c7f74db2c (diff) | |
automatic import of pocoopeneuler25.09
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..09540f7 --- /dev/null +++ b/poco-deal-with-libsuffix.patch @@ -0,0 +1,12 @@ +--- poco-poco-1.12.4-release/CMakeLists.txt.orig 2025-08-23 10:35:09.617111500 +0800 ++++ poco-poco-1.12.4-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) |
