--- ./lib/Makefile.am.orig
+++ ./lib/Makefile.am
@@ -152,7 +154,7 @@
 	Version_script-enc theoraenc.exp
 libtheoraenc_la_LDFLAGS = \
   -version-info @THENC_LIB_CURRENT@:@THENC_LIB_REVISION@:@THENC_LIB_AGE@ \
-  @THEORAENC_LDFLAGS@ $(OGG_LIBS)
+  -ltheoradec @THEORAENC_LDFLAGS@ $(OGG_LIBS)
 
 libtheora_la_SOURCES = \
 	$(decoder_sources) \
