]> git.pld-linux.org Git - packages/cups.git/blob - cups-rpath.patch
- url which df can understand
[packages/cups.git] / cups-rpath.patch
1 --- cups-1.1.20/config-scripts/cups-sharedlibs.m4.rpath 2004-05-12 16:25:08.617264663 +0200
2 +++ cups-1.1.20/config-scripts/cups-sharedlibs.m4       2004-05-12 16:30:22.231801170 +0200
3 @@ -137,9 +137,11 @@
4                          ;;
5                  Linux*)
6                          # Linux
7 -                       DSOFLAGS="-Wl,-rpath,$libdir $DSOFLAGS"
8 -                        LDFLAGS="$LDFLAGS -Wl,-rpath,$libdir"
9 -                        EXPORT_LDFLAGS="-Wl,-rpath,$libdir"
10 +                                               if test $libdir != /usr/lib -a $libdir != /usr/lib32 -a $libdir != /usr/lib64 -a $libdir != /lib ; then
11 +                                       DSOFLAGS="-Wl,-rpath,$libdir $DSOFLAGS"
12 +                               LDFLAGS="$LDFLAGS -Wl,-rpath,$libdir"
13 +                               EXPORT_LDFLAGS="-Wl,-rpath,$libdir"
14 +                                               fi
15                          ;;
16         esac
17  else
This page took 0.030809 seconds and 3 git commands to generate.