libxmp / xmp-cli

Command-line mod player using libxmp
GNU General Public License v2.0
75 stars 22 forks source link

libxmp discovery fails if libxmp is a static-only and libm-dependent build #36

Closed sezero closed 3 years ago

sezero commented 3 years ago

As the title says.

One solution might be re-trying in configure with -lm added to LIBS. Comments?

AliceLR commented 3 years ago

I'm not familiar with how other libraries usually do this (could go the libpng/SDL route and make a libxmp-config, I guess...), but retrying -lxmp detection with -lm is probably OK.

sezero commented 3 years ago

I'm not familiar with how other libraries usually do this (could go the libpng/SDL route and make a libxmp-config, I guess...),

We already have libxmp.pc (the pkg-config file), but the default method of using it only uses its Libs: field.

but retrying -lxmp detection with -lm is probably OK.

Will try cooking up something