---

Before noticing this I would have wagered $1000 that no such bugs
are left ... :-/

 configure          | 2 +-
 libavutil/Makefile | 5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index 960c1ed032..46c6390ff4 100755
--- a/configure
+++ b/configure
@@ -767,7 +767,7 @@ add_host_ldflags(){
 }
 
 add_compat(){
-    append compat_objs $1
+    append compat_objs compat/$1
     shift
     map 'add_cppflags -D$v' "$@"
 }
diff --git a/libavutil/Makefile b/libavutil/Makefile
index 6fb24db678..ff61b57149 100644
--- a/libavutil/Makefile
+++ b/libavutil/Makefile
@@ -120,7 +120,7 @@ OBJS-$(CONFIG_LZO)                      += lzo.o
 OBJS-$(CONFIG_VAAPI)                    += hwcontext_vaapi.o
 OBJS-$(CONFIG_VDPAU)                    += hwcontext_vdpau.o
 
-OBJS += $(COMPAT_OBJS:%=../compat/%)
+OBJS += $(COMPAT_OBJS:%=../%)
 
 SKIPHEADERS-$(CONFIG_CUDA)             += hwcontext_cuda.h
 SKIPHEADERS-$(CONFIG_D3D11VA)          += hwcontext_d3d11va.h
@@ -151,3 +151,6 @@ TESTPROGS = adler32                                         
            \
             xtea                                                        \
 
 TESTPROGS-$(HAVE_THREADS)               += cpu_init
+
+clean::
+       $(RM) $(COMPAT_OBJS) $(COMPAT_OBJS:%.o=%.d)
-- 
2.11.0

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to