1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-02 11:09:29 +00:00

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
This commit is contained in:
Tobias Kortkamp 2019-04-18 06:13:39 +00:00
parent 924ed3b058
commit b7b264819c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=499236

@ -0,0 +1,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 \