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 d63b16e6..acc67a09 100644
--- a/subr/pkg_configure.subr
+++ b/subr/pkg_configure.subr
@@ -4,9 +4,9 @@
pkg_configure() {
if [ -n "${PKG_CONFIGURE}" ]; then
- PKG_CONFIGURE="${WORKDIR}/${PKG_CONFIGURE}";
+ PKG_CONFIGURE="${PKG_BASE_DIR}/${PKG_CONFIGURE}";
else
- PKG_CONFIGURE="${WORKDIR}/${PKG_SUBDIR}/configure";
+ PKG_CONFIGURE="${PKG_BASE_DIR}/${PKG_SUBDIR}/configure";
fi;
if [ -x "${PKG_CONFIGURE}" ]; then
CFLAGS="${PKG_CFLAGS_CONFIGURE}${PKG_CFLAGS_CONFIGURE_EXTRA:+ ${PKG_CFLAGS_CONFIGURE_EXTRA}}" \