Skip to content
Browse files

[FreeBSD] allow use of internal ffmpeg

and pass needed include path
  • Loading branch information...
1 parent 141fb53 commit 8ce3f4854ec33f43a3eedc9a50351bf2a34313ad Fneufneu committed
Showing with 1 addition and 2 deletions.
  1. +1 −2 configure.in
View
3 configure.in
@@ -569,13 +569,11 @@ case $host in
i386-*-freebsd*)
ARCH="x86-freebsd"
MAKE="gmake"
- use_external_ffmpeg="yes"
AC_SUBST(ARCH_DEFINES, "-DTARGET_POSIX -DTARGET_FREEBSD -D_LINUX")
;;
amd64-*-freebsd*)
ARCH="x86_64-freebsd"
MAKE="gmake"
- use_external_ffmpeg="yes"
AC_SUBST(ARCH_DEFINES, "-DTARGET_POSIX -DTARGET_FREEBSD -D_LINUX")
;;
arm-apple-darwin*)
@@ -732,6 +730,7 @@ if echo "$ARCH" | grep -q "freebsd" ; then
CXXFLAGS="$CXXFLAGS -I$LOCALBASE/include"
CPPFLAGS="$CPPFLAGS -I$LOCALBASE/include"
LDFLAGS="$LDFLAGS -L$LOCALBASE/lib"
+ FFMPEG_EXTRACFLAGS="-I$LOCALBASE/include"
fi
if test "$host_vendor" = "apple" ; then
# standard xbmc paths

0 comments on commit 8ce3f48

Please sign in to comment.
Something went wrong with that request. Please try again.