aboutsummaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-11-18 03:52:05 +0100
committerKay Sievers <kay.sievers@vrfy.org>2008-11-18 03:52:05 +0100
commit88608b1704ae8d701251614eb40c2e2e9e1f6d0e (patch)
treec7a3e11fd04aa4f060fddb0bbf66176742bbb35d /autogen.sh
parent13f362dec578cb7480f290b0c0b67068313db149 (diff)
downloadudev-88608b1704ae8d701251614eb40c2e2e9e1f6d0e.tar.gz
autogen.sh: fix -print-multi-os-directory usage
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/autogen.sh b/autogen.sh
index b4c853f9..ef3f579c 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -49,11 +49,11 @@ CFLAGS="-g -Wall \
if test -z "$1" -o "$1" = "install"; then
args="--prefix=/usr --exec-prefix= --sysconfdir=/etc --with-selinux"
- args="$args --with-libdir-name=$(basename $(gcc -print-multi-os-directory))"
+ args="$args --with-libdir-name=lib/$(gcc -print-multi-os-directory)"
CFLAGS="$CFLAGS -O2"
elif test "$1" = "devel" ; then
args="--prefix=/usr --exec-prefix= --sysconfdir=/etc --with-selinux --enable-debug"
- args="$args --with-libdir-name=$(basename $(gcc -print-multi-os-directory))"
+ args="$args --with-libdir-name=lib/$(gcc -print-multi-os-directory)"
CFLAGS="$CFLAGS -O0"
else
args=$@