summaryrefslogtreecommitdiff
blob: 7836e3abda2327735fab359d43f685f3b6a013f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
http://bugs.gentoo.org/504270

--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -22,7 +22,7 @@
 
 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