Updated ffmpeg patch to put haiku into it's own case statement in ffmpeg's configure

This commit is contained in:
Scott McCreary
2009-05-14 05:52:55 +00:00
parent 1135e5f298
commit 1afe04db3c

View File

@@ -0,0 +1,27 @@
Index: configure
===================================================================
--- configure (revision 18820)
+++ configure (working copy)
@@ -1554,7 +1554,7 @@
# OS specific
case $target_os in
- beos|haiku|zeta)
+ beos|zeta)
prefix_default="$HOME/config"
# helps building libavcodec
add_cflags -DPIC -fomit-frame-pointer
@@ -1580,6 +1580,13 @@
enable beos_netserver
network_extralibs="-lnet"
fi ;;
+ haiku)
+ prefix_default="/boot/common"
+ SHFLAGS=' -shared'
+ disable audio_beos
+ enable beosthreads
+ network_extralibs="-lnetwork"
+ ;;
sunos)
FFSERVERLDFLAGS=""
SHFLAGS='-shared -Wl,-h,$$(@F)'