summaryrefslogtreecommitdiffhomepage
path: root/build.subr
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2016-02-27 20:01:20 +0100
committerLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2016-02-27 20:01:20 +0100
commit41d5cc5c6a90d493d82ab9436ca6890ba1ded96a (patch)
tree85fbd7792bcac651568d5ec6831737bc92197cf1 /build.subr
parent54dbce18657290a0cfdf7a531dfdbb2d9ce488ea (diff)
downloadmidipix_build-41d5cc5c6a90d493d82ab9436ca6890ba1ded96a.tar.bz2
midipix_build-41d5cc5c6a90d493d82ab9436ca6890ba1ded96a.tar.xz
Cygwin compatibility fix ($PREFIX/libexec/gcc/${TARGET}/${PKG_CBB_VERSION}/liblto_plugin.{dll.a,so}.)
Diffstat (limited to 'build.subr')
-rw-r--r--build.subr1
1 files changed, 1 insertions, 0 deletions
diff --git a/build.subr b/build.subr
index b695429c..98992408 100644
--- a/build.subr
+++ b/build.subr
@@ -15,6 +15,7 @@ get_prefix_lrg() { echo "${1%%${2}*}"; };
get_postfix() { echo "${1#*${2}}"; };
get_prefix() { echo "${1%${2}*}"; };
match_any() { [ "${1#*${2}*}" != "${1}" ]; };
+match_uname_any() { set -- ${1} $(uname -s); [ "${2#*${1}*}" != "${2}" ]; };
push_IFS() { _pI_IFS="${IFS}"; IFS="${1}"; };
pop_IFS() { IFS="${_pI_IFS}"; unset _pI_IFS; };
set_build_dir() { PKG_BUILD_DIR=${1}-${2}-${TARGET}; };