File tree Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -58,17 +58,10 @@ unset C_INCLUDE_PATH
58
58
unset CPLUS_INCLUDE_PATH
59
59
case " $HOST " in
60
60
* 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} "
72
65
esac
73
66
74
67
# Set environment variables to point the CROSS toolchain to the right
You can’t perform that action at this time.
0 commit comments