[vlc-devel] commit: fix libvlc linking when UPDATE_CHECK is on ( Rafaël Carré )

git version control git at videolan.org
Sun Mar 9 17:52:46 CET 2008


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Sun Mar  9 16:22:46 2008 +0100| [d8ff00df25d28e47220c14f97f89956de31831b6]

fix libvlc linking when UPDATE_CHECK is on

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d8ff00df25d28e47220c14f97f89956de31831b6
---

 .../cmake/CMakeLists/src_CMakeLists.txt            |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/extras/buildsystem/cmake/CMakeLists/src_CMakeLists.txt b/extras/buildsystem/cmake/CMakeLists/src_CMakeLists.txt
index 420ae41..0739a32 100644
--- a/extras/buildsystem/cmake/CMakeLists/src_CMakeLists.txt
+++ b/extras/buildsystem/cmake/CMakeLists/src_CMakeLists.txt
@@ -136,8 +136,11 @@ set_target_properties(libvlc PROPERTIES
         OUTPUT_NAME vlc
         SOVERSION 1 VERSION 1.0.0)
 
+if(UPDATE_CHECK)
+target_link_libraries(libvlc ${LIBM} ${LIBRT} ${LIBICONV} ${Dlopen_LIBRARIES} "-lgcrypt")
+else(UPDATE_CHECK)
 target_link_libraries(libvlc ${LIBM} ${LIBRT} ${LIBICONV} ${Dlopen_LIBRARIES})
-
+endif(UPDATE_CHECK)
 
 # libvlc-control
 set( SOURCES_libvlc_control




More information about the vlc-devel mailing list