chiark / gitweb /
use proper directory lib/lib64 for libvolume_id
authorThomas Koeller <thomas@koeller.dyndns.org>
Tue, 22 Jul 2008 13:57:40 +0000 (15:57 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Tue, 22 Jul 2008 13:57:40 +0000 (15:57 +0200)
extras/volume_id/lib/Makefile

index 96ee8f5..95bb2ed 100644 (file)
@@ -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