examples: fix underlinking
authorTristan Matthews <le.businessman@gmail.com>
Tue, 11 Feb 2014 18:51:20 +0000 (18:51 +0000)
committerTristan Matthews <le.businessman@gmail.com>
Tue, 11 Feb 2014 18:51:20 +0000 (18:51 +0000)
git-svn-id: http://svn.xiph.org/trunk/theora@19087 0101bb08-14d6-0310-b084-bc0e0c8e3800

examples/Makefile.am

index b9e598e..2c8ad1c 100644 (file)
@@ -26,7 +26,7 @@ libtheora_info_LDADD = $(LDADDENC)
 
 player_example_SOURCES = player_example.c
 player_example_CFLAGS = $(SDL_CFLAGS) $(OGG_CFLAGS) $(VORBIS_CFLAGS)
-player_example_LDADD = $(LDADDDEC) $(SDL_LIBS) $(VORBIS_LIBS) $(OSS_LIBS)
+player_example_LDADD = $(LDADDDEC) $(SDL_LIBS) $(VORBIS_LIBS) $(OSS_LIBS) -lm
 
 encoder_example_SOURCES = encoder_example.c
 EXTRA_encoder_example_SOURCES = getopt.c getopt1.c getopt.h