Skip to content

Commit

Permalink
fixup! cmake: Migrate Guix build scripts to CMake
Browse files Browse the repository at this point in the history
Fix `cmake_install` scripts for the Darwin platform.
  • Loading branch information
hebasto committed Aug 10, 2024
1 parent 954193e commit e61dbee
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions contrib/guix/libexec/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,10 @@ mkdir -p "$DISTSRC"
# Install built Bitcoin Core to $INSTALLPATH
case "$HOST" in
*darwin*)
# This workaround can be dropped for CMake >= 3.27.
# See the upstream commit 689616785f76acd844fd448c51c5b2a0711aafa2.
find build -name 'cmake_install.cmake' -exec sed -i 's| -u -r | |g' {} +

cmake --install build --strip --prefix "${INSTALLPATH}" ${V:+--verbose}
;;
*)
Expand Down

0 comments on commit e61dbee

Please sign in to comment.