linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2/2] Fixed installation path for 64-bit libvolume_id.so
@ 2008-07-07 22:12 Thomas Koeller
  2008-07-08  6:53 ` Harald Hoyer
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: Thomas Koeller @ 2008-07-07 22:12 UTC (permalink / raw)
  To: linux-hotplug

Installing 64-bit libraries in /lib and /usr/lib
is wrong.

Signed-off-by: Thomas Koeller <thomas@koeller.dyndns.org>
---
 extras/volume_id/lib/Makefile |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/extras/volume_id/lib/Makefile b/extras/volume_id/lib/Makefile
index 96ee8f5..95bb2ed 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
-- 
1.5.6.1


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2008-07-22 13:59 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-07 22:12 [PATCH 2/2] Fixed installation path for 64-bit libvolume_id.so Thomas Koeller
2008-07-08  6:53 ` Harald Hoyer
2008-07-09 19:51 ` Thomas Koeller
2008-07-09 21:26 ` Kay Sievers
2008-07-09 21:35 ` Thomas Koeller
2008-07-09 21:44 ` Kay Sievers
2008-07-09 22:03 ` Dan Nicholson
2008-07-09 22:41 ` Thomas Koeller
2008-07-09 22:45 ` Kay Sievers
2008-07-09 23:04 ` Thomas Koeller
2008-07-22 13:59 ` Kay Sievers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).