Bug#822210: sdl2-config.cmake: extra leading / trailing whitespace

Gianfranco Costamagna locutusofborg at debian.org
Fri Apr 22 12:23:53 UTC 2016


Hi,
> set(SDL2_LIBRARIES "-L${SDL2_LIBDIR}  -lSDL2 ")

I know where that space comes from:

quoting configure.in

SDL_LIBS="-lSDL2 $BASE_LDFLAGS"


changing to 
SDL_LIBS="-lSDL2$BASE_LDFLAGS"

fixes the issue, because in our case BASE_LDFLAGS is undefined.

I'm not sure why the cmake build is not even creating it, and I'm not sure how
to best fix the issue.

I think a patch would be welcome, so the maintainers can apply it if needed :)

thanks for the bug report,

Gianfranco

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-sdl-maintainers/attachments/20160422/dc509316/attachment.sig>


More information about the Pkg-sdl-maintainers mailing list