From: Kay Sievers Date: Tue, 18 Nov 2008 02:52:05 +0000 (+0100) Subject: autogen.sh: fix -print-multi-os-directory usage X-Git-Tag: 174~1306 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88608b1704ae8d701251614eb40c2e2e9e1f6d0e;p=systemd autogen.sh: fix -print-multi-os-directory usage --- 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=$@