Commit 12043e1d authored by Steven M. Schultz's avatar Steven M. Schultz Committed by Michael Niedermayer

FreeBSD pthread patch by ("Steven M. Schultz" <sms at 2BSD dot COM>)

Originally committed as revision 3021 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 0f5c3f21
...@@ -224,7 +224,8 @@ v4l="no" ...@@ -224,7 +224,8 @@ v4l="no"
audio_oss="yes" audio_oss="yes"
dv1394="no" dv1394="no"
make="gmake" make="gmake"
LDFLAGS="$LDFLAGS -export-dynamic" CFLAGS="-pthread"
LDFLAGS="$LDFLAGS -export-dynamic -pthread"
;; ;;
BSD/OS) BSD/OS)
v4l="no" v4l="no"
...@@ -1092,7 +1093,9 @@ fi ...@@ -1092,7 +1093,9 @@ fi
if test "$pthreads" = "yes" ; then if test "$pthreads" = "yes" ; then
echo "HAVE_PTHREADS=yes" >> config.mak echo "HAVE_PTHREADS=yes" >> config.mak
echo "#define HAVE_PTHREADS 1" >> $TMPH echo "#define HAVE_PTHREADS 1" >> $TMPH
if $targetos != FreeBSD; then
extralibs="$extralibs -lpthread" extralibs="$extralibs -lpthread"
fi
fi fi
if test "$sdl" = "yes" ; then if test "$sdl" = "yes" ; then
echo "CONFIG_SDL=yes" >> config.mak echo "CONFIG_SDL=yes" >> config.mak
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment