Clean up multipath linking
authorBenjamin Marzinski <bmarzins@redhat.com>
Fri, 3 Apr 2009 04:19:36 +0000 (23:19 -0500)
committerChristophe Varoqui <christophe.varoqui@free.fr>
Fri, 3 Apr 2009 21:26:36 +0000 (23:26 +0200)
commit1d80fee3649f66fbb49a3225af97eb90adf2c9d5
tree17d0640858aae02a12afbabcd70da561b7ffdd56
parent139136bb54ac9b99c7a5910e4ea1e6cb37fd8d00
Clean up multipath linking

This is a patch to fix up the linking. It does two things.  First, it makes
libmultipath.so install to /lib/ just like a normal shared library, so you
don't have to use -rpath to link to it.  Second, and more importantly,
it moves the libaio linking into libcheckdirectio.so, where it belongs.  Since
libcheckdirectio.so is a dynamic shared object, multipath and multipathd don't
know what functions they need to link in from libaio. This fixes the directio
lockup for me.

Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
libmultipath/Makefile
libmultipath/checkers/Makefile
multipath/Makefile
multipathd/Makefile