Skip to content
Snippets Groups Projects
Commit 1189ff23 authored by mark's avatar mark
Browse files

BUG: pkgconfigPrefix calling the incorrect backend

ENH: avoid editing pkgconfig symlinks
parent 5c09a643
Branches
Tags
1 merge request!4Merge develop into master for v1706 release
......@@ -76,7 +76,7 @@ do
usage
;;
*)
pkgconfigAdjust "$1"
pkgconfigNewPrefix "$1"
;;
esac
shift
......
......@@ -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 \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment