]> err.no Git - systemd/commitdiff
autogen.sh: fix -print-multi-os-directory usage
authorKay Sievers <kay.sievers@vrfy.org>
Tue, 18 Nov 2008 02:52:05 +0000 (03:52 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Tue, 18 Nov 2008 02:52:05 +0000 (03:52 +0100)
autogen.sh

index b4c853f9775ab05b0bb8bcbdd186c8f08ce8b7e0..ef3f579cbd3a200f3c86dedd19b5c2edeea6b284 100755 (executable)
@@ -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=$@