From f1822d43af01465535527b8b9a89785f816dacc4 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 18 Aug 2014 10:54:33 +0200 Subject: [PATCH] hooks/prepare-32bit: update paths to lib32 correctly in pkgconfig files. --- common/hooks/post-install/06-prepare-32bit.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/hooks/post-install/06-prepare-32bit.sh b/common/hooks/post-install/06-prepare-32bit.sh index 8dacfd4b5a9..67705a4e8df 100644 --- a/common/hooks/post-install/06-prepare-32bit.sh +++ b/common/hooks/post-install/06-prepare-32bit.sh @@ -53,8 +53,8 @@ hook() { # Switch pkg-config files to lib32. if [ -d ${destdir32}/usr/lib32/pkgconfig ]; then - sed -e 's,/usr/lib,/usr/lib32,g' \ - -e 's,${exec_prefix}/lib,${exec_prefix}/lib32,g' \ + sed -e 's,/usr/lib$,/usr/lib32,g' \ + -e 's,${exec_prefix}/lib$,${exec_prefix}/lib32,g' \ -i ${destdir32}/usr/lib32/pkgconfig/*.pc fi elif [ "$lib32mode" = "full" ]; then