summaryrefslogtreecommitdiffhomepage
path: root/subr/pkg_configure.subr
diff options
context:
space:
mode:
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}";