void-packages/srcpkgs/py2cairo/files/python-config

9 lines
218 B
Bash

#!/bin/sh
# python wrapper for cross compilation in xbps
# we simply fake the output of --includes with the cross prefix.
if [ "$1" = "--includes" ]; then
echo "-I${XBPS_CROSS_BASE}/usr/include/python2.7"
fi
exit 0