http://bugs.gentoo.org/206817

--- a/Makefile.am
+++ b/Makefile.am
@@ -37,7 +37,7 @@
        camera.cpp \
        config.cpp
 
-3ddeskd_LDFLAGS = $(imlib2_libs) @GL_LIBS@ 
+3ddeskd_LDADD = $(imlib2_libs) @GL_LIBS@ 
 
 noinst_HEADERS = 3ddesk.h \
        arrange.hpp  \
