Installing 64-bit libraries in /lib and /usr/lib is wrong. Signed-off-by: Thomas Koeller <thomas@xxxxxxxxxxxxxxxxxx> --- extras/volume_id/lib/Makefile | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/extras/volume_id/lib/Makefile b/extras/volume_id/lib/Makefile index 96ee8f5..95bb2ed 100644 --- a/extras/volume_id/lib/Makefile +++ b/extras/volume_id/lib/Makefile @@ -5,8 +5,9 @@ # Released under the GNU General Public License, version 2. # includedir = ${prefix}/usr/include -libdir = ${prefix}/lib -usrlibdir = ${prefix}/usr/lib +oslibdir = $(shell $(CC) $(CFLAGS) -print-multi-os-directory) +libdir = $(realpath ${prefix}/lib/$(oslibdir)) +usrlibdir = $(realpath ${prefix}/usr/lib/$(oslibdir)) INSTALL = install -c INSTALL_DATA = ${INSTALL} -m 644 -- 1.5.6.1 -- To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html