[lib] respect LDFLAGS, correct linking order
authorKacper Kowalik <xarthisius@gentoo.org>
Wed, 2 Feb 2011 17:17:54 +0000 (18:17 +0100)
committerChristophe Varoqui <christophe.varoqui@opensvc.com>
Wed, 2 Feb 2011 17:17:54 +0000 (18:17 +0100)
commit4218552658ba4101ad75bedde240a6953b2cc8db
tree32217a71c2c4890c5770840d6b056e2f9102373d
parent6c923aaaeb956a178f2545455faf0fec132e6e6e
[lib] respect LDFLAGS, correct linking order

current HEAD of libmultipath  fails to build with -Wl,--as-needed[1] and
doesn't respect LDFLAGS when creating shared libs.
I've attached a patch to fix those issues.
libmultipath/Makefile
libmultipath/checkers/Makefile
libmultipath/prioritizers/Makefile