summaryrefslogtreecommitdiff
path: root/audio/sdl_sound/files/patch-Makefile.in
blob: 6cf2aa8ca6889c544dd526264a23c9ca1d532f3f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
ld: error: ../.libs/libSDL_sound.so: undefined reference to log
ld: error: ../.libs/libSDL_sound.so: undefined reference to exp2
ld: error: ../.libs/libSDL_sound.so: undefined reference to sin

--- Makefile.in.orig	2019-04-18 06:08:16 UTC
+++ Makefile.in
@@ -256,7 +256,7 @@ libSDL_sound_la_LDFLAGS = \
 
 libSDL_sound_la_LIBADD = \
 	decoders/libdecoders.la	\
-	$(TIMIDITY_LIB) $(MPGLIB_LIB)
+	$(TIMIDITY_LIB) $(MPGLIB_LIB) -lm
 
 EXTRA_DIST = \
 	CREDITS \