]> err.no Git - util-linux/commitdiff
build-sys: improve $libdirname definition
authorKarel Zak <kzak@redhat.com>
Mon, 13 Jul 2009 09:54:43 +0000 (11:54 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 13 Jul 2009 09:54:43 +0000 (11:54 +0200)
Reported-by: Robert Förster <Dessa@gmake.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
configure.ac

index eaca5063ad7b15bf0bd307d4745c18e034909790..f352f88e93492610f5cef12040ae33f2464e184b 100644 (file)
@@ -42,11 +42,7 @@ NONE:NONE | NONE:/usr | /usr:*)
   esac ;;
 esac
 
-# lib64
-case ${libdir} in
-  *lib64) libdirname=lib64 ;;
-  *) libdirname=lib
-esac
+libdirname=`basename "$libdir"`
 AC_SUBST([libdirname])
 
 # The original default values of {bin,sbin,lib}dir