File: rpath_nonlinux.diff

package info (click to toggle)
qtmultimedia-opensource-src 5.11.3-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 31,032 kB
  • sloc: cpp: 137,738; java: 749; ansic: 507; python: 131; pascal: 112; makefile: 45; sh: 21; xml: 6
file content (21 lines) | stat: -rw-r--r-- 758 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Author: Pino Toscano <toscano.pino@tiscali.it>
Description: Enable RPATH also on Hurd and kFreeBSD
 Enable RPATH also on those platforms so the spectrum example can locate the
 fftreal library in its own directory.
 .
 The "hurd-*" addition can be upstreamed, while the "gnukfreebsd-*" depends on
 a (currently) Debian-only mkspec.
Last-Update: 2014-05-21
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-*|gnukfreebsd-*: {
         # Provide relative path from application to fftreal library
         QMAKE_LFLAGS += -Wl,--rpath=\\\$\$ORIGIN
     }