Skip to content

Commit b4d2265

Browse files
committed
Merge #21337: guix: Update darwin native packages dependencies
c967fb7 guix: Remove libcap from manifest (Hennadii Stepanov) 7bbb409 guix: Update darwin native packages dependencies (Hennadii Stepanov) Pull request description: It is a #20470 follow up. ACKs for top commit: fanquake: ACK c967fb7 Tree-SHA512: 66ce05770f578ba61a44c58747c5a2669f425a989ed987838058bd86e3b49e342ac5a4f8852fc49f2b3a86b58fb6a340fdf3e34c1fc19bdab910729febba4bc7
2 parents 702cfc8 + c967fb7 commit b4d2265

File tree

2 files changed

+5
-12
lines changed

2 files changed

+5
-12
lines changed

contrib/guix/libexec/build.sh

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -58,17 +58,10 @@ unset C_INCLUDE_PATH
5858
unset CPLUS_INCLUDE_PATH
5959
case "$HOST" in
6060
*darwin*)
61-
# When targeting darwin, some native tools built by depends require
62-
# native packages not incorporated in depends
63-
#
64-
# libcap required by native_cdrkit/wodim
65-
# zlib, bzip2 required by native_cdrkit/genisoimage
66-
for native_pkg in libcap zlib bzip2; do
67-
native_pkg_store_path=$(store_path "$native_pkg")
68-
export LIBRARY_PATH="${native_pkg_store_path}/lib:${LIBRARY_PATH}"
69-
export CPATH="${native_pkg_store_path}/include:${CPATH}"
70-
done
71-
;;
61+
# When targeting darwin, zlib is required by native_libdmg-hfsplus.
62+
zlib_store_path=$(store_path "zlib")
63+
export LIBRARY_PATH="${zlib_store_path}/lib:${LIBRARY_PATH}"
64+
export CPATH="${zlib_store_path}/include:${CPATH}"
7265
esac
7366

7467
# Set environment variables to point the CROSS toolchain to the right

contrib/guix/manifest.scm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,5 +235,5 @@ chain for " target " development."))
235235
((string-contains target "-linux-")
236236
(list (make-bitcoin-cross-toolchain target)))
237237
((string-contains target "darwin")
238-
(list clang-8 libcap binutils imagemagick libtiff librsvg font-tuffy cmake xorriso))
238+
(list clang-8 binutils imagemagick libtiff librsvg font-tuffy cmake xorriso))
239239
(else '())))))

0 commit comments

Comments
 (0)