summaryrefslogtreecommitdiffhomepage
path: root/207.libz.build
diff options
context:
space:
mode:
Diffstat (limited to '207.libz.build')
-rw-r--r--207.libz.build4
1 files changed, 3 insertions, 1 deletions
diff --git a/207.libz.build b/207.libz.build
index 2c29870c..4afb479a 100644
--- a/207.libz.build
+++ b/207.libz.build
@@ -18,7 +18,7 @@ if ! is_build_script_done extracted; then
set_build_script_done extracted -patched;
fi;
if ! is_build_script_done configured; then
- set_build_dir ${_pkg_fname%%-*} ${TARGET};
+ set_build_dir ${_pkg_fname%%-*} native;
rm_if_exists -c -m ${_build_dir};
cp -a ../portage/config.cache .;
CFLAGS="${CFLAGS_PACKAGES}" \
@@ -27,6 +27,8 @@ if ! is_build_script_done configured; then
--prefix= \
--target=${TARGET};
set_build_script_done configured -built;
+else
+ cd ${_build_dir};
fi;
if ! is_build_script_done built; then
if [ "x${3}" = "xlibz" ]; then