summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index 4ec4e0551a..234e82902c 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -43,6 +43,7 @@ automake --add-missing
if test -z "$@"; then
args="--prefix=/usr --exec-prefix= --sysconfdir=/etc"
+ args="$args --with-libdir-name=$(basename $(gcc -print-multi-os-directory))"
export CFLAGS="-g -Wall \
-Wmissing-declarations -Wmissing-prototypes \
-Wnested-externs -Wpointer-arith \