summaryrefslogtreecommitdiff
path: root/games/pokerth/files/patch-pokerth_game.pro
blob: 458a83d68b01f29726979524518aa730caafd66b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
--- pokerth_game.pro.orig	2017-08-16 12:24:03 UTC
+++ pokerth_game.pro
@@ -409,10 +409,7 @@ unix:!mac { 
 	QMAKE_LIBDIR += lib
 	!android{
 		LIBPATH += $${PREFIX}/lib /opt/gsasl/lib
-		LIB_DIRS = $${PREFIX}/lib \
-			$${PREFIX}/lib64 \
-                        $${PREFIX}/lib/x86_64-linux-gnu \
-			$$system(qmake -query QT_INSTALL_LIBS)
+		LIB_DIRS = $${PREFIX}/lib
 	}
 	android{
 		LIBPATH += $${PREFIX}/lib/armv7
@@ -433,7 +430,7 @@ unix:!mac { 
 	BOOST_CHRONO = boost_chrono \
 		boost_chrono-mt
 
-	# searching in $PREFIX/lib, $PREFIX/lib64 and $$system(qmake -query QT_INSTALL_LIBS)
+	# searching in $PREFIX/lib
 	# to override the default '/usr' pass PREFIX
 	# variable to qmake.
 	for(dir, LIB_DIRS):exists($$dir) {
@@ -529,7 +526,7 @@ unix:!mac { 
 		LIBS += -lSDL \
 				-lSDL_mixer \
 			-lgsasl
-		!isEmpty( BSD ):isEmpty( kFreeBSD ):LIBS += -lcrypto
+		!isEmpty( BSD ):isEmpty( kFreeBSD ):LIBS += -lcrypto -lssl
 		else:LIBS += -lgcrypt
 	}
 	android{