Lucio Andrés Illanes Albornoz f24648
#!/bin/sh
Lucio Andrés Illanes Albornoz f24648
Lucio Andrés Illanes Albornoz f24648
PREFIX=""; [ ${PREFIX:="${0%/*}"} = "${0}" ] && PREFIX="."; PREFIX="${PREFIX:+${PREFIX}/}..";
Lucio Andrés Illanes Albornoz f24648
case "${1}" in
Lucio Andrés Illanes Albornoz f24648
--cflags)	printf "-I${PREFIX}/include/libxml2\n"; ;;
Lucio Andrés Illanes Albornoz f24648
--libs)		printf "-L${PREFIX}/lib -lxml2 -lz -llzma -lpthread -lm\n"; ;;
Lucio Andrés Illanes Albornoz f24648
esac;