From aa5e29a58112aa838be8d04f9e6c994af056f1d1 Mon Sep 17 00:00:00 2001 From: Thomas Koeller Date: Tue, 22 Jul 2008 15:57:40 +0200 Subject: [PATCH] use proper directory lib/lib64 for libvolume_id --- extras/volume_id/lib/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/extras/volume_id/lib/Makefile b/extras/volume_id/lib/Makefile index 96ee8f51..95bb2ed3 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 -- 2.39.5