summaryrefslogtreecommitdiff
path: root/dev-games/mygui/files/mygui-3.4.0-underlinking.patch
blob: 1dcf2dbbbfda3376d382f4d23b236b93ddad91ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Julian Ospald <hasufell@gentoo.org>
Date: Fri Jun 15 10:42:42 UTC 2012
Subject: build system

fix underlinking

diff --git a/MyGUIEngine/CMakeLists.txt b/MyGUIEngine/CMakeLists.txt
--- a/MyGUIEngine/CMakeLists.txt
+++ b/MyGUIEngine/CMakeLists.txt
@@ -44,7 +44,10 @@ if (MYGUI_USE_FREETYPE)
 	target_link_libraries(${PROJECTNAME}
 		${FREETYPE_LIBRARIES}
 		${ZLIB_LIBRARIES}
-	)
+		dl)
+else()
+	target_link_libraries(${PROJECTNAME}
+		dl)
 endif()
 
 # platform specific dependencies