[vlc-devel] commit: Fix compilation and linking on OpenBSD. ( Rémi Duraffort )

git version control git at videolan.org
Mon Nov 23 20:07:10 CET 2009


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Mon Nov 23 20:07:13 2009 +0100| [3e0d64a2fdf8d0a5aa4605786d117a793212b0a6] | committer: Rémi Duraffort 

Fix compilation and linking on OpenBSD.

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

 configure.ac |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index 279ac0b..89602b8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -205,6 +205,12 @@ case "${host_os}" in
         LDFLAGS_save="${LDFLAGS_save} -L/usr/local/lib"
         LDFLAGS="${LDFLAGS_save}"
         ;;
+      openbsd*)
+        CPPFLAGS_save="${CPPFLAGS_save} -I/usr/local/include -I/usr/X11R6/include"
+        CPPFLAGS="${CPPFLAGS_save}"
+        LDFLAGS_save="${LDFLAGS_save} -L/usr/local/lib -L/usr/X11R6/lib/"
+        LDFLAGS="${LDFLAGS_save}"
+        ;;
     esac
     ;;
   darwin*)




More information about the vlc-devel mailing list