File: rpath_nonlinux.diff

package info (click to toggle)
qtmultimedia-opensource-src 5.15.18-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 36,220 kB
  • sloc: cpp: 139,338; java: 787; ansic: 556; python: 131; pascal: 112; sh: 21; makefile: 19; xml: 6
file content (20 lines) | stat: -rw-r--r-- 653 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Author: Pino Toscano <toscano.pino@tiscali.it>
Description: Enable RPATH also on Hurd
 Enable RPATH also on the Hurd, so the spectrum example can locate the fftreal
 library in its own directory.
 .
 The "hurd-*" addition can be upstreamed.
Last-Update: 2023-07-14
Forwarded: no

--- a/examples/multimedia/spectrum/app/app.pro
+++ b/examples/multimedia/spectrum/app/app.pro
@@ -78,7 +78,7 @@
                                 ../spectrum.app/Contents/MacOS/spectrum
     }
 } else {
-    linux-g++*: {
+    linux-g++*|hurd-*: {
         # Provide relative path from application to fftreal library
         QMAKE_LFLAGS += -Wl,--rpath=\\\$\$ORIGIN
     }