aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2/configure
diff options
context:
space:
mode:
Diffstat (limited to 'hardinfo2/configure')
-rwxr-xr-xhardinfo2/configure5
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