Skip to content

Commit 7bbb409

Browse files
committed
guix: Update darwin native packages dependencies
1 parent 72e6979 commit 7bbb409

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
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

0 commit comments

Comments
 (0)