summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--vars/pkgconf_host.vars8
1 files changed, 4 insertions, 4 deletions
diff --git a/vars/pkgconf_host.vars b/vars/pkgconf_host.vars
index 2d2c97cf..54497bb8 100644
--- a/vars/pkgconf_host.vars
+++ b/vars/pkgconf_host.vars
@@ -28,13 +28,13 @@ EOF
fi;
};
-pkg_pkgconf_install_make_post() {
- if [ -e "${PREFIX_NATIVE}/bin/pkg-config" ]; then
- if ! rtl_fileop rm "${PREFIX_NATIVE}/bin/pkg-config"; then
+pkg_pkgconf_install_make_pre() {
+ if [ -e "${PKG_DESTDIR}/bin/pkg-config" ]; then
+ if ! rtl_fileop rm "${PKG_DESTDIR}/bin/pkg-config"; then
return 1;
fi;
fi;
- rtl_fileop ln_symbolic pkgconf "${PREFIX_NATIVE}/bin/pkg-config";
+ rtl_fileop ln_symbolic pkgconf "${PKG_DESTDIR}/bin/pkg-config";
};
# vim:filetype=sh textwidth=0