The attached patch makes sure that libmodplug is
linked against libm (-lm) as it uses some functions
from there, this is needed for other binaries to link
against libmodplug when using --as-needed ld flag,
and avoids the requirement of using -lm explicitely
when linking to libmodplug.
Diego "Flameeyes" Pettenò <email@example.com>