BUG: pkgconfigPrefix calling the incorrect backend

ENH: avoid editing pkgconfig symlinks
This commit is contained in:
mark
2017-02-01 09:49:05 +00:00
parent 5c09a6433f
commit 1189ff23c9
2 changed files with 3 additions and 3 deletions

View File

@ -76,7 +76,7 @@ do
usage
;;
*)
pkgconfigAdjust "$1"
pkgconfigNewPrefix "$1"
;;
esac
shift

View File

@ -281,7 +281,7 @@ pkgconfigNewPrefix()
[ -d "$dir/$libdir" ] || continue
for i in $dir/$libdir/*.pc
do
if [ -f "$i" ]
if [ -f "$i" -a ! -L "$i" ]
then
nfiles="x$nfiles"
sed -i -e 's@^\(prefix=\).*$@\1'"$dir@" $i
@ -329,7 +329,7 @@ pkgconfigAdjust()
[ -d "$dir/$libdir" ] || continue
for i in $dir/$libdir/*.pc
do
if [ -f "$i" ]
if [ -f "$i" -a ! -L "$i" ]
then
nfiles="x$nfiles"
sed -i \