diff options
author | Leandro A. F. Pereira <leandro@hardinfo.org> | 2007-08-05 15:02:03 +0000 |
---|---|---|
committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2007-08-05 15:02:03 +0000 |
commit | bbdaf527d5104564f1cd0e4bd4e85f50df519b5a (patch) | |
tree | 5c19c2ed26a4a0c27b59a2437be909fd4c2d756a /hardinfo2/configure | |
parent | dc1dcc0c5ac2f4d9ff7baea1411e7a785372275c (diff) |
Fix compilation on AMD64 systems running on 64-bit mode (use /usr/lib64 instead of /usr/lib).
Diffstat (limited to 'hardinfo2/configure')
-rwxr-xr-x | hardinfo2/configure | 5 |
1 files changed, 4 insertions, 1 deletions
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 |