Initial patch for ffmpeg to give haiku it's own case in configure, more settings may be added in as we figure out what works and what doesn't.

This commit is contained in:
Scott McCreary
2009-03-07 23:19:27 +00:00
parent 28895f0ba8
commit 33efcdeb19

View File

@@ -0,0 +1,26 @@
Index: configure
===================================================================
--- configure (revision 17861)
+++ configure (working copy)
@@ -1512,7 +1512,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
@@ -1538,6 +1538,13 @@
enable beos_netserver
network_extralibs="-lnet"
fi ;;
+ haiku)
+ prefix_default="/boot/common"
+ disable audio_beos
+ enable beosthreads
+ network_extralibs="-lnetwork"
+ ;;
sunos)
FFSERVERLDFLAGS=""
SHFLAGS='-shared -Wl,-h,$$(@F)'