]> git.pld-linux.org Git - packages/cups.git/commitdiff
- don't add -rpath for dir well knows by dynamic linker
authorArtur Frysiak <artur@frysiak.net>
Wed, 12 May 2004 14:41:35 +0000 (14:41 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cups-rpath.patch -> 1.1

cups-rpath.patch [new file with mode: 0644]

diff --git a/cups-rpath.patch b/cups-rpath.patch
new file mode 100644 (file)
index 0000000..348de90
--- /dev/null
@@ -0,0 +1,17 @@
+--- cups-1.1.20/config-scripts/cups-sharedlibs.m4.rpath        2004-05-12 16:25:08.617264663 +0200
++++ cups-1.1.20/config-scripts/cups-sharedlibs.m4      2004-05-12 16:30:22.231801170 +0200
+@@ -137,9 +137,11 @@
+                         ;;
+                 Linux*)
+                         # Linux
+-                      DSOFLAGS="-Wl,-rpath,$libdir $DSOFLAGS"
+-                        LDFLAGS="$LDFLAGS -Wl,-rpath,$libdir"
+-                        EXPORT_LDFLAGS="-Wl,-rpath,$libdir"
++                                              if test $libdir != /usr/lib -a $libdir != /usr/lib32 -a $libdir != /usr/lib64 -a $libdir != /lib ; then
++                                      DSOFLAGS="-Wl,-rpath,$libdir $DSOFLAGS"
++                              LDFLAGS="$LDFLAGS -Wl,-rpath,$libdir"
++                              EXPORT_LDFLAGS="-Wl,-rpath,$libdir"
++                                              fi
+                         ;;
+       esac
+ else
This page took 0.035365 seconds and 4 git commands to generate.