summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-board/pokerth/files/pokerth-0.9.5-underlinking.patch')
-rw-r--r--games-board/pokerth/files/pokerth-0.9.5-underlinking.patch9
1 files changed, 6 insertions, 3 deletions
diff --git a/games-board/pokerth/files/pokerth-0.9.5-underlinking.patch b/games-board/pokerth/files/pokerth-0.9.5-underlinking.patch
index 3ff9ab2dd685..397fb7d6c1bc 100644
--- a/games-board/pokerth/files/pokerth-0.9.5-underlinking.patch
+++ b/games-board/pokerth/files/pokerth-0.9.5-underlinking.patch
@@ -3,15 +3,18 @@ Date: Thu Aug 16 22:25:12 UTC 2012
Subject: build system
fix compilation for linkers that don't permit underlinking
+reorder linker line to fix issues with as-needed
--- pokerth_server.pro
+++ pokerth_server.pro
-@@ -114,7 +114,7 @@
+@@ -114,8 +114,8 @@
LIBS += -lpokerth_lib \
-lpokerth_db \
-lpokerth_protocol \
- -lcurl \
-+ $$system(pkg-config --libs --static libcurl) \
- -lircclient
+- -lircclient
++ -lircclient \
++ $$system(pkg-config --libs --static libcurl)
win32 {
+ DEFINES += CURL_STATICLIB