Allow shell-fm to build with --as-needed.
commit3bc02b89dccb140dc40449402d71112e7abc5965
authorMarco Leogrande <dark.knight.ita@gmail.com>
Mon, 5 Oct 2009 14:42:47 +0000 (5 22:42 +0800)
committerJonas Kramer <jkramer@nex.scrapping.cc>
Tue, 6 Oct 2009 18:16:16 +0000 (7 02:16 +0800)
tree884aed08019e6721c016590430d239b37cf0c5c8
parentd1f6dde330da8c25fc72a51dc54d7d23c8c7f47e
Allow shell-fm to build with --as-needed.

This patch splits the LDFLAGS variable, that should hold only the flags
used for linking, from LDLIBS, that in turn should be used to store the
libraries to link against. While the old behaviour is not an error, it
gives undefined references when compiling with --as-needed.

Reference Gentoo bug: https://bugs.gentoo.org/show_bug.cgi?id=286662
source/Makefile