From 88608b1704ae8d701251614eb40c2e2e9e1f6d0e Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Tue, 18 Nov 2008 03:52:05 +0100 Subject: [PATCH] autogen.sh: fix -print-multi-os-directory usage --- autogen.sh | 4 ++-- 1 file 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=$@ -- 2.39.5