wmMoonClock: fix build with ld --as-needed
commitfb7b05ed1e13d75172996a72087689cea6d31338
authorMichael Bienia <geser@ubuntu.com>
Tue, 8 Nov 2011 10:22:40 +0000 (8 11:22 +0100)
committerCarlos R. Mafra <crmafra@gmail.com>
Tue, 8 Nov 2011 17:29:52 +0000 (8 17:29 +0000)
tree793cff60dc9ef8b855075e005cf6bd71c6d473df
parent38d60e97a11c94a756fb1a5cc7a3c7304776e29c
wmMoonClock: fix build with ld --as-needed

I'm forwarding a patch from Michael Bienia <geser@ubuntu.com> that
has been applied to the wmmoonclock package in Ubuntu.

It fixes a build issue that is caused by specifiying libraries before the object
files in the linker command line.
This causes a build failure as Ubuntu's ld defaults to --as-needed, see:
http://wiki.debian.org/ToolChain/DSOLinking#Only_link_with_needed_libraries

[Patch sent by: Felix Geyer <debfx@ubuntu.com>]
wmmoonclock/src/Makefile