diff options
author | Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de> | 2017-02-06 01:20:04 +0100 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de> | 2017-02-06 01:20:04 +0100 |
commit | 05e6185f7740f3acef556ba39cff95139bd7130d (patch) | |
tree | 13d958e045edb28dab3cb225bc244c35acb27db1 /vars/libxml2.vars | |
parent | 36ab9378686ad6f3783f26696615e33e170e235f (diff) | |
download | midipix_build-05e6185f7740f3acef556ba39cff95139bd7130d.tar.bz2 midipix_build-05e6185f7740f3acef556ba39cff95139bd7130d.tar.xz |
build.sh, {subr,vars}/*: general cleanup.
Diffstat (limited to 'vars/libxml2.vars')
-rw-r--r-- | vars/libxml2.vars | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/vars/libxml2.vars b/vars/libxml2.vars index 4d4f2696..f0bd0f02 100644 --- a/vars/libxml2.vars +++ b/vars/libxml2.vars @@ -3,17 +3,17 @@ # pkg_libxml2_install_post() { - if [ -e ${PREFIX}/bin/${TARGET}-xml2-config ]; then - build_fileop rm ${PREFIX}/bin/${TARGET}-xml2-config; + if [ -e "${PREFIX}/bin/${TARGET}-xml2-config" ]; then + build_fileop rm "${PREFIX}/bin/${TARGET}-xml2-config"; fi; - cat > ${PREFIX}/bin/${TARGET}-xml2-config <<EOF + cat > "${PREFIX}/bin/${TARGET}-xml2-config" <<EOF #!/bin/sh case "\${1}" in ---cflags) echo -I${PREFIX_NATIVE}/include/libxml2; ;; ---libs) echo -L${PREFIX_NATIVE}/lib -lxml2 -lz -llzma -lpthread -lm; ;; +--cflags) echo "-I${PREFIX_NATIVE}/include/libxml2"; ;; +--libs) echo "-L${PREFIX_NATIVE}/lib" -lxml2 -lz -llzma -lpthread -lm; ;; esac; EOF - chmod +x ${PREFIX}/bin/${TARGET}-xml2-config; + chmod +x "${PREFIX}/bin/${TARGET}-xml2-config"; }; |