ports/audio/sdl_sound/files/patch-Makefile.in
Tobias Kortkamp b7b264819c audio/sdl_sound: Fix build on FreeBSD 13.0
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

http://beefy11.nyi.freebsd.org/data/head-i386-default/p499228_s346255/logs/errors/sdl_sound-1.0.3_14.log
2019-04-18 06:13:39 +00:00

15 lines
459 B
Text

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 \