summaryrefslogtreecommitdiff
path: root/debian/patches/fix_nonlinux_glibc_linkage.diff
blob: 566389a0f97adb73b38a5b37319f6f25a1c64e59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Author: Sune Vuorela
Description: Ensures we link with rt on all the platforms where we 
have glibc. Not yet upstreamed. Requires a upstreamming of the gnukfreebsd patch
Index: b/Source/WebKit2/WebKit2.pri
===================================================================
--- a/Source/WebKit2/WebKit2.pri
+++ b/Source/WebKit2/WebKit2.pri
@@ -75,7 +75,7 @@
 
 INCLUDEPATH += $$WEBKIT2_GENERATED_SOURCES_DIR
 
-linux-*:!android {
+linux-*:!android|hurd-*|gnukfreebsd-* {
     # -lrt is required for shm_open and shm_unlink.
     LIBS += -lrt
 }