]> git.sesse.net Git - vlc/commitdiff
configure.ac: fix dvdnav linking on beos/os x/win32 (hacky)
authorEric Petit <titer@videolan.org>
Wed, 28 Jul 2004 10:48:44 +0000 (10:48 +0000)
committerEric Petit <titer@videolan.org>
Wed, 28 Jul 2004 10:48:44 +0000 (10:48 +0000)
configure.ac

index e11801dbffb9f7b0998df0c6d19f94972d8cc9c3..fcceb485cac58a1a0502cace63cde2aa6fb66d2c 100644 (file)
@@ -1339,6 +1339,11 @@ AC_ARG_ENABLE(dvdnav,
   [  --enable-dvdnav         dvdnav input module (default enabled)])
 if test "${enable_dvdnav}" != "no"
 then
+  dnl Same hack than dvdread
+  if test "${SYS}" = "mingw32" || test "${SYS}" = "darwin" || test "${SYS}" = "beos" ; then
+      VLC_ADD_LDFLAGS([dvdnav],[-ldvdcss])
+  fi
+
   DVDNAV_PATH="${PATH}"
   AC_ARG_WITH(dvdnav-config-path,
     [    --with-dvdnav-config-path=PATH dvdnav-config path (default search in \$PATH)],