From: Karel Zak Date: Mon, 13 Jul 2009 09:54:43 +0000 (+0200) Subject: build-sys: improve $libdirname definition X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb5212e26515cea4a3c91260e8fbf9996f35d295;p=util-linux build-sys: improve $libdirname definition Reported-by: Robert Förster Signed-off-by: Karel Zak --- diff --git a/configure.ac b/configure.ac index eaca5063..f352f88e 100644 --- a/configure.ac +++ b/configure.ac @@ -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