summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--009.pkgconf_host.vars2
1 files changed, 1 insertions, 1 deletions
diff --git a/009.pkgconf_host.vars b/009.pkgconf_host.vars
index 84136498..add0e462 100644
--- a/009.pkgconf_host.vars
+++ b/009.pkgconf_host.vars
@@ -11,7 +11,7 @@ pkg_pkgconf_host_install_post() {
if [ -z "\${PREFIX_NATIVE}" ]; then
PREFIX_NATIVE=${PREFIX_NATIVE};
fi;
-"\$(dirname "\${0}")"/pkgconf --define-variable=prefix=\${PREFIX_NATIVE} "\$@";
+"\$(dirname "\${0}")"/pkgconf --define-variable=prefix=\${PREFIX_NATIVE%/}/ "\$@";
EOF
chmod +x ${PREFIX}/bin/${TARGET}-pkg-config;
};