diff options
author | Steven M. Schultz | 2004-04-16 02:51:23 +0000 |
---|---|---|
committer | Michael Niedermayer | 2004-04-16 02:51:23 +0000 |
commit | 12043e1d8b541589eb70f0f5c0cc02db7482bcfb (patch) | |
tree | 4abba2a42a38ea39b209837e46ad8aab35ddf1f5 /configure | |
parent | 0f5c3f2132a44330ee2f9f66e68be5614bd7cb7a (diff) |
FreeBSD pthread patch by ("Steven M. Schultz" <sms at 2BSD dot COM>)
Originally committed as revision 3021 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -224,7 +224,8 @@ v4l="no" audio_oss="yes" dv1394="no" make="gmake" -LDFLAGS="$LDFLAGS -export-dynamic" +CFLAGS="-pthread" +LDFLAGS="$LDFLAGS -export-dynamic -pthread" ;; BSD/OS) v4l="no" @@ -1092,7 +1093,9 @@ fi if test "$pthreads" = "yes" ; then echo "HAVE_PTHREADS=yes" >> config.mak echo "#define HAVE_PTHREADS 1" >> $TMPH - extralibs="$extralibs -lpthread" + if $targetos != FreeBSD; then + extralibs="$extralibs -lpthread" + fi fi if test "$sdl" = "yes" ; then echo "CONFIG_SDL=yes" >> config.mak |