summaryrefslogtreecommitdiffhomepage
path: root/vars
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-04-29 18:19:55 +0100
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-04-29 18:19:55 +0100
commitdcaf8f8af74443d659829d6147298b027043b91d (patch)
tree37d71a44ba6830deb6bca5e4c27f935e1844ebab /vars
parentaf28942d6f70bf30c7dd7ae03234000e526e6b0e (diff)
downloadmidipix_build-dcaf8f8af74443d659829d6147298b027043b91d.tar.bz2
midipix_build-dcaf8f8af74443d659829d6147298b027043b91d.tar.xz
vars/pkgconf.vars:pkg_pkgconf_install_make_{post,pre}(): correctly install pkg-config symlink (via JL2210, midipix.)
Diffstat (limited to 'vars')
-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