Attaching a fix.
Created attachment 947 ldflags-asneeded.patch Thanks, Samuli
This fixes the issue for me, though I applied it to Makefile.in instead of Makefile.am, since .am requires autoreconf, which fails with syntax errors during configure.
(In reply to comment #2) > This fixes the issue for me, though I applied it to Makefile.in instead of > Makefile.am, since .am requires autoreconf, which fails with syntax errors > during configure. This is because you need xfce4-dev-tools and you need to point them to autotools, like so: AT_M4DIR="/usr/share/xfce4/dev-tools/m4macros" autoreconf Assuming the xfce4-dev-tools pkg gets installed to this directory, but just to serve as an example
Eric, changing Makefile.in might still trigger maintainer mode in autotools, which is why Makefile.am should be patched instead :)
When you patch a Makefile.in file you just need to rerun ./configure (or ./config.status if you want only to regenerate the .in files).
(In reply to comment #5) > When you patch a Makefile.in file you just need to rerun ./configure (or > ./config.status if you want only to regenerate the .in files). But if you change Makefile.in and the timestamp changes, and "Maintainer mode" is present in the fileset; It will trigger autoconf to be run again and if the versions has changed, there's a good possibility it will fail -- systems vary.
This issue was resolved when applying the fix for 6466 *** This bug has been marked as a duplicate of bug 6466 ***