]> git.pld-linux.org Git - packages/taglib.git/blob - taglib-libtool-sanitize.patch
- pl for -examples
[packages/taglib.git] / taglib-libtool-sanitize.patch
1 --- kdemultimedia-3.1.3/admin/libtool.m4.in.orig        Tue Jul 15 12:03:59 2003
2 +++ kdemultimedia-3.1.3/admin/libtool.m4.in     Fri Sep  5 14:54:56 2003
3 @@ -11412,6 +11412,19 @@
4         if test "$pre_test_object_deps_done" = no; then
5          case $p in
6          -L* | -R*)
7 +          # sanitize
8 +          new_c=$(echo $p | sed -e ['s/\(-[LR]\).*/\1/'])
9 +          new_d=["${p#-[LR]}"]
10 +          if ! test -d $new_d -a -x $new_d ; then
11 +            continue
12 +          fi
13 +          # normalize
14 +          new_d=$(cd $new_d ; pwd)
15 +          # uniq
16 +          if echo "${compiler_lib_search_path_CXX}" | grep -q -F -e "\(^\| \)$new_c$new_d\( \|$\)"; then
17 +            continue
18 +          fi
19 +          p="$new_c$new_d"
20            # Internal compiler library paths should come after those
21            # provided the user.  The postdeps already come after the
22            # user supplied libs so there is no need to process them.
This page took 0.035289 seconds and 3 git commands to generate.