urbit/nix/nixcrpkgs/pkgs/libxcb/examples_builder.sh
benjamin-tlon edd57d380d
Finish cc-release cross-compilation. (#1202)
- 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.
2019-04-23 19:50:38 -07:00

11 lines
202 B
Bash

source $setup
pkg-config-cross xcb --cflags --libs
$host-gcc -Wall $example1 \
$(pkg-config-cross xcb --cflags --libs) \
-o example1$exe_suffix
mkdir -p $out/bin
cp example1$exe_suffix $out/bin/