libvlc needs -ldl
authorRémi Denis-Courmont <rem@videolan.org>
Tue, 5 Feb 2008 15:57:52 +0000 (15:57 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Tue, 5 Feb 2008 15:57:52 +0000 (15:57 +0000)
extras/buildsystem/cmake/CMakeLists/src_CMakeLists.txt

index 3c98a2c..e637ee7 100644 (file)
@@ -244,7 +244,7 @@ if(NOT APPLE)
    set(LINK_FLAGS "-z defs --as-needed")
 endif(NOT APPLE)
 
-target_link_libraries(libvlc ${LIBRT} ${LIBICONV})
+target_link_libraries(libvlc ${LIBRT} ${LIBICONV} ${Dlopen_LIBRARIES})
 
 set_target_properties(libvlc PROPERTIES SOVERSION 1.0.0)
 set_target_properties(libvlc libvlc-control PROPERTIES PREFIX "")