]> err.no Git - systemd/commitdiff
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 96ee8f51500eb7e11baafe1da1375e36ac880f49..95bb2ed39473e96d6aebe4071996c92f5386e111 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