diff options
author | Lucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de> | 2017-12-03 16:10:05 +0000 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de> | 2017-12-03 16:20:07 +0000 |
commit | ec19f02f81c206f54a89ef7e1f49715e90470c31 (patch) | |
tree | a4f6a307e70bad5c4a836a18cbf92b6b0afa0b83 /vars/libxml2.vars | |
parent | 16c9cd223ae1809124a163d13e820f19e18e7edc (diff) | |
download | midipix_build-ec19f02f81c206f54a89ef7e1f49715e90470c31.tar.bz2 midipix_build-ec19f02f81c206f54a89ef7e1f49715e90470c31.tar.xz |
Separate front end (build.sh, subr/build_*) from dispatcher.
Diffstat (limited to 'vars/libxml2.vars')
-rw-r--r-- | vars/libxml2.vars | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vars/libxml2.vars b/vars/libxml2.vars index 0a59f8da..36d9f860 100644 --- a/vars/libxml2.vars +++ b/vars/libxml2.vars @@ -3,17 +3,17 @@ # pkg_libxml2_install_make_post() { - if [ -e "${PREFIX}/bin/${TARGET}-xml2-config" ]; then - ex_build_fileop rm "${PREFIX}/bin/${TARGET}-xml2-config"; + if [ -e "${PREFIX}/bin/${PKG_TARGET}-xml2-config" ]; then + ex_rtl_fileop rm "${PREFIX}/bin/${PKG_TARGET}-xml2-config"; fi; - cat > "${PREFIX}/bin/${TARGET}-xml2-config" <<EOF + cat > "${PREFIX}/bin/${PKG_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; ;; esac; EOF - chmod +x "${PREFIX}/bin/${TARGET}-xml2-config"; + chmod +x "${PREFIX}/bin/${PKG_TARGET}-xml2-config"; }; |