Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 8b8166efa57cd9f3a5cb4c605bb23481 > files > 1

libtorrent-rasterbar-0.16.6-2.mga3.src.rpm

--- CMakeLists.txt.link	2012-07-31 05:39:17.000000000 +0000
+++ CMakeLists.txt	2012-07-31 05:44:35.000000000 +0000
@@ -167,6 +167,7 @@
 endif (NOT Boost_VERSION LESS 103500)
 include_directories(${Boost_INCLUDE_DIR})
 target_link_libraries(torrent-rasterbar ${Boost_LIBRARIES})
+target_link_libraries(torrent-rasterbar pthread rt)
 
 # this works around a bug in asio in boost-1.39
 add_definitions(-DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_ASIO_DYN_LINK -D__USE_W32_SOCKETS -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0500)
@@ -193,6 +194,8 @@
 
 if (NOT geoip)
 	add_definitions(-DTORRENT_DISABLE_GEO_IP)
+else(NOT geoip)
+	target_link_libraries(torrent-rasterbar GeoIP)
 endif (NOT geoip)
 
 if (NOT resolve-countries)