Browse Source

lib/functions.in: improved to move .pc files to automatically to /usr/lib/pkgconfig when libdir=/lib

user/chris/test/patchcksum
Christian Wiese 15 years ago
parent
commit
06fa539a8e
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      lib/functions.in

+ 2
- 2
lib/functions.in

@ -313,7 +313,7 @@ function run_check() {
#
postflist_static_lib() {
echo "Processing static lib corrections ..."
egrep '^(lib|lib64)/.*\.(a\..*|a|la|so)$' $builddir/flist.txt |
egrep '^(lib|lib64)/.*\.(a\..*|a|la|so|pc)$' $builddir/flist.txt |
while read fn ; do
[ -e $root/$fn -o -L $root/$fn ] || continue
@ -323,7 +323,7 @@ postflist_static_lib() {
$root/$fn > $root/usr/$fn
rm $root/$fn
;;
*.a)
*.a|*.pc)
mv -fv $root/$fn $root/usr/$fn
;;
*.so)

Loading…
Cancel
Save