summaryrefslogtreecommitdiff
path: root/extras/volume_id
diff options
context:
space:
mode:
authorThomas Koeller <thomas@koeller.dyndns.org>2008-07-22 15:57:40 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-07-22 15:57:40 +0200
commitaa5e29a58112aa838be8d04f9e6c994af056f1d1 (patch)
treeba8d174a46af2c5653660e26a4e843126f8bccaa /extras/volume_id
parent05b9640022d25a75923cc7809409914491a5f9da (diff)
use proper directory lib/lib64 for libvolume_id
Diffstat (limited to 'extras/volume_id')
-rw-r--r--extras/volume_id/lib/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/extras/volume_id/lib/Makefile b/extras/volume_id/lib/Makefile
index 96ee8f5150..95bb2ed394 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