Commit c489e416 authored by Mark Nauwelaerts's avatar Mark Nauwelaerts

configure.ac: handle out-of-tree build

In file included from <gst-ffmpeg>/gst-libs/ext/libav/libavutil/avutil.h:318:0,
                 from <gst-ffmpeg>/gst-libs/ext/libav/libswscale/swscale.h:30,
                 from <gst-ffmpeg>/ext/libswscale/gstffmpegscale.c:26:
<gst-ffmpeg>/gst-libs/ext/libav/libavutil/common.h:38:32: fatal error: libavutil/avconfig.h: No such file or directory
compilation terminated.
parent b9e32291
......@@ -265,6 +265,7 @@ else
dnl libgstlibav.la: include dirs
LIBAV_CFLAGS="-I \$(top_srcdir)/gst-libs/ext/libav \
-I \$(top_builddir)/gst-libs/ext/libav \
-Wno-deprecated-declarations"
dnl libgstlibav.la: libs to statically link to
......@@ -274,6 +275,7 @@ else
dnl
SWSCALE_CFLAGS="-I \$(top_srcdir)/gst-libs/ext/libav \
-I \$(top_builddir)/gst-libs/ext/libav \
-Wno-deprecated-declarations"
dnl libgstswscale.la: libs to statically link to
......
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