mirror of
https://github.com/urbit/shrub.git
synced 2024-12-21 09:51:36 +03:00
edd57d380d
- Fixes the IPC bug - Fixes the terminfo bug - Moves the OSX SDK out of our nixcrpkgs fork. - Vendor nixcrpkgs instead of having it be a submodule.
18 lines
378 B
Bash
18 lines
378 B
Bash
source $setup
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cat > $out/bin/pkg-config-cross <<EOF
|
|
PKG_CONFIG_LIBDIR=\$PKG_CONFIG_CROSS_PATH \\
|
|
PKG_CONFIG_PATH=\$PKG_CONFIG_CROSS_PATH \\
|
|
exec pkg-config \$@
|
|
EOF
|
|
|
|
cat > $out/bin/cmake-cross <<EOF
|
|
PKG_CONFIG=pkg-config-cross \\
|
|
CMAKE_PREFIX_PATH=\$CMAKE_CROSS_PREFIX_PATH \\
|
|
exec cmake -DCMAKE_TOOLCHAIN_FILE=\$cmake_toolchain \$@
|
|
EOF
|
|
|
|
chmod a+x $out/bin/*
|