From: Thomas Koeller Date: Tue, 22 Jul 2008 13:57:40 +0000 (+0200) Subject: use proper directory lib/lib64 for libvolume_id X-Git-Tag: 174~1654 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa5e29a58112aa838be8d04f9e6c994af056f1d1;p=systemd use proper directory lib/lib64 for libvolume_id --- 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