mirror of
https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git
synced 2024-11-27 12:04:43 +08:00
configure: support biarch builds with --multiarch=lib64
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
This commit is contained in:
parent
95480c64ff
commit
d7fa4103f5
9
configure
vendored
9
configure
vendored
@ -11379,8 +11379,13 @@ fi
|
||||
|
||||
# Check whether --with-multiarch was given.
|
||||
if test "${with_multiarch+set}" = set; then :
|
||||
withval=$with_multiarch; libdir=$libdir/$withval
|
||||
root_libdir=$root_libdir/$withval
|
||||
withval=$with_multiarch; if test "$withval" = "lib64"; then
|
||||
libdir=/usr/lib64
|
||||
root_libdir=/lib64
|
||||
else
|
||||
libdir=$libdir/$withval
|
||||
root_libdir=$root_libdir/$withval
|
||||
fi
|
||||
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can link with -static" >&5
|
||||
|
@ -1225,8 +1225,13 @@ dnl Allow specification of the multiarch arch
|
||||
dnl
|
||||
AC_ARG_WITH([multiarch],
|
||||
[ --with-multiarch=ARCH specify the multiarch triplet],
|
||||
libdir=$libdir/$withval
|
||||
root_libdir=$root_libdir/$withval
|
||||
if test "$withval" = "lib64"; then
|
||||
libdir=/usr/lib64
|
||||
root_libdir=/lib64
|
||||
else
|
||||
libdir=$libdir/$withval
|
||||
root_libdir=$root_libdir/$withval
|
||||
fi
|
||||
)dnl
|
||||
dnl
|
||||
dnl See if -static works. This could fail if the linker does not
|
||||
|
Loading…
Reference in New Issue
Block a user