summaryrefslogtreecommitdiff
blob: 7e6ea9398c3c83cf8cda80f44b7b86015dd7176b (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/CMakeLists.txt	2011-06-06 23:46:06.057320691 +0200
+++ b/CMakeLists.txt	2011-06-06 23:46:21.900313261 +0200
@@ -392,7 +392,7 @@
         message(FATAL_ERROR "Unix port requires pthreads support.")
     endif()
     set(ALLEGRO_HAVE_LIBPTHREAD 1)
-    list(APPEND PLATFORM_LIBS m ${CMAKE_THREAD_LIBS_INIT})
+    list(APPEND PLATFORM_LIBS dl m ${CMAKE_THREAD_LIBS_INIT})
     list(APPEND PLATFORM_SOURCES ${ALLEGRO_SRC_UNIX_FILES})
 
     if(WANT_OSS)