[libbluray-devel] Allow building with Java for FreeBSD.
Dominic Fandrey
git at videolan.org
Tue Feb 22 13:29:21 CET 2011
libbluray | branch: master | Dominic Fandrey <kamikaze at bsdforen.de> | Tue Feb 22 14:27:22 2011 +0200| [9ce55063c6da15e5d0bcc9f1fa86945f0b8a5b0a] | committer: hpi1
Allow building with Java for FreeBSD.
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=9ce55063c6da15e5d0bcc9f1fa86945f0b8a5b0a
---
configure.ac | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index 9f105a7..97b4a2c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -234,9 +234,10 @@ if [[ $use_bdjava = "yes" ]]; then
*) java_arch=$target_cpu ;;
esac
case $target_os in
- linux*) java_os=linux ;;
- win*) java_os=win32 ;;
- *) java_os=$target_os ;;
+ linux*) java_os=linux ;;
+ win*) java_os=win32 ;;
+ freebsd*) java_os=freebsd ;;
+ *) java_os=$target_os ;;
esac
BDJAVA_CFLAGS="-I${JDK_HOME}/include -I${JDK_HOME}/include/$java_os"
More information about the libbluray-devel
mailing list