mirror of
https://github.com/urbit/shrub.git
synced 2024-12-22 18:31:44 +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.
25 lines
513 B
Bash
25 lines
513 B
Bash
source $setup
|
|
|
|
tar -xf $src
|
|
mv libX11-* libx11
|
|
|
|
mkdir build
|
|
cd build
|
|
|
|
PKG_CONFIG=pkg-config-cross \
|
|
../libx11/configure --prefix $out $configure_flags
|
|
|
|
make
|
|
|
|
make install
|
|
|
|
# Make static linking work.
|
|
sed -i 's/Requires.private/Requires/' $out/lib/pkgconfig/*.pc
|
|
|
|
ln -s x11-xcb.pc $out/lib/pkgconfig/X11-xcb.pc
|
|
ln -s x11.pc $out/lib/pkgconfig/X11.pc
|
|
|
|
ln -sf $xproto/lib/pkgconfig/*.pc $out/lib/pkgconfig/
|
|
ln -sf $kbproto/lib/pkgconfig/*.pc $out/lib/pkgconfig/
|
|
ln -sf $libxcb/lib/pkgconfig/*.pc $out/lib/pkgconfig/
|