diff --git a/libavcodec/Makefile b/libavcodec/Makefile
index e15ced4f448c192e51e069dad27f961d734cecdb..395a4a99cd657663fee51cd4780487051998e6fb 100644
--- a/libavcodec/Makefile
+++ b/libavcodec/Makefile
@@ -299,6 +299,7 @@ OBJS-$(CONFIG_ADPCM_YAMAHA_DECODER)    += adpcm.o
 OBJS-$(CONFIG_ADPCM_YAMAHA_ENCODER)    += adpcm.o
 
 # libavformat dependencies
+OBJS-$(CONFIG_MATROSKA_MUXER)          += xiph.o
 OBJS-$(CONFIG_OGG_MUXER)               += xiph.o
 
 # external codec libraries