mirror of
https://github.com/urbit/shrub.git
synced 2024-12-22 10:21:31 +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.
29 lines
471 B
Bash
29 lines
471 B
Bash
source $setup
|
|
|
|
tar -xf $src
|
|
mv libxcb-* libxcb
|
|
|
|
cd libxcb
|
|
for patch in $patches; do
|
|
echo applying patch $patch
|
|
patch -p1 -i $patch
|
|
done
|
|
cd ..
|
|
|
|
mkdir build
|
|
cd build
|
|
|
|
PKG_CONFIG=pkg-config-cross \
|
|
../libxcb/configure --prefix=$out $configure_flags
|
|
|
|
make
|
|
|
|
make install
|
|
|
|
# Make static linking work.
|
|
sed -i 's/Requires.private/Requires/' $out/lib/pkgconfig/*.pc
|
|
sed -i 's/Libs.private/Libs/' $out/lib/pkgconfig/*.pc
|
|
|
|
ln -sf $libxau/lib/pkgconfig/*.pc $out/lib/pkgconfig/
|
|
|