summaryrefslogtreecommitdiffhomepage
path: root/subr/pkg_configure.subr
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2017-02-06 02:49:26 +0100
committerLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2017-02-06 04:23:24 +0000
commitd5afb4ad3d60f078e64e402e403f0e55fc711714 (patch)
tree97b07d1cb8e54c3c7003a7743da069b9517f6bd4 /subr/pkg_configure.subr
parent8ee843a21869a1dc38a7fc7b543b7a5a1231a4e9 (diff)
downloadmidipix_build-d5afb4ad3d60f078e64e402e403f0e55fc711714.tar.bz2
midipix_build-d5afb4ad3d60f078e64e402e403f0e55fc711714.tar.xz
build.sh, {subr,vars}/*: general cleanup.
Diffstat (limited to 'subr/pkg_configure.subr')
-rw-r--r--subr/pkg_configure.subr4
1 files changed, 2 insertions, 2 deletions
diff --git a/subr/pkg_configure.subr b/subr/pkg_configure.subr
index fc70f39e..1d53d8b6 100644
--- a/subr/pkg_configure.subr
+++ b/subr/pkg_configure.subr
@@ -4,9 +4,9 @@
pkg_configure() {
if [ -n "${PKG_CONFIGURE}" ]; then
- PKG_CONFIGURE="../${PKG_CONFIGURE}";
+ PKG_CONFIGURE="${WORKDIR}/${PKG_CONFIGURE}";
else
- PKG_CONFIGURE="../${PKG_SUBDIR}/configure";
+ PKG_CONFIGURE="${WORKDIR}/${PKG_SUBDIR}/configure";
fi;
if [ -x "${PKG_CONFIGURE}" ]; then
export CFLAGS_FOR_BUILD="${HOST_TOOLCHAIN_CFLAGS_CONFIGURE_DEFAULT}";