From bbdaf527d5104564f1cd0e4bd4e85f50df519b5a Mon Sep 17 00:00:00 2001 From: "Leandro A. F. Pereira" Date: Sun, 5 Aug 2007 15:02:03 +0000 Subject: Fix compilation on AMD64 systems running on 64-bit mode (use /usr/lib64 instead of /usr/lib). --- hardinfo2/configure | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'hardinfo2/configure') diff --git a/hardinfo2/configure b/hardinfo2/configure index e8dc02fd..0a36779d 100755 --- a/hardinfo2/configure +++ b/hardinfo2/configure @@ -45,6 +45,7 @@ case $OS in esac PROC=`uname -m` +LIBDIR='/usr/lib' case $PROC in i?86) ln -sf linux/x86 arch/this @@ -54,7 +55,8 @@ case $PROC in ARCH="ARCH_PPC" ;; x86_64) ln -sf linux/x86_64 arch/this - ARCH="ARCH_x86_64" ;; + ARCH="ARCH_x86_64" + LIBDIR="/usr/lib64" ;; mips*) ln -sf linux/mips arch/this ARCH="ARCH_MIPS" ;; @@ -214,6 +216,7 @@ echo "SOUP_LIBS = ${SOUP_LIBS}" >> Makefile echo "SOUP_CFLAGS = ${SOUP_FLAGS}" >> Makefile echo "PACKAGE = `basename ${PWD}`" >> Makefile echo "ARCHOPTS = " >> Makefile +echo "LIBDIR = $LIBDIR" >> Makefile cat Makefile.in >> Makefile -- cgit v1.2.3