diff options
Diffstat (limited to 'libwebsocketpp-dev.spec')
| -rw-r--r-- | libwebsocketpp-dev.spec | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/libwebsocketpp-dev.spec b/libwebsocketpp-dev.spec index 5caedd8..889b585 100644 --- a/libwebsocketpp-dev.spec +++ b/libwebsocketpp-dev.spec @@ -51,13 +51,22 @@ websocketpp::websocketpp) needed to build applications against WebSocket++. %build # Boost / OpenSSL / zlib are only probed by upstream when tests or examples are # enabled; both are disabled so the shipped artifacts have no such linkage. +# +# NOTE (openEuler 24.03 LTS SP3 build fix, build 112495): the openEuler %cmake +# macro configures IN SOURCE (no -B/-S), so the out-of-source build directory +# %{_vpath_builddir} (= %{_target_platform}, e.g. noarch-openEuler-linux-gnu) +# never exists and %cmake_build aborts with +# Error: .../noarch-openEuler-linux-gnu is not a directory +# Likewise %cmake_install would target that missing directory. Hence drive the +# already-configured in-source tree with the plain make macros; this is the same +# pattern used by the other header-only cpp packages built in this chroot. %cmake \ -DBUILD_EXAMPLES=OFF \ -DBUILD_TESTS=OFF -%cmake_build +%make_build %install -%cmake_install +%make_install %files %license COPYING |
