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

10 lines
218 B
Text
Raw Normal View History

2014-01-28 08:45:44 +00:00
#!/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