Browse Source

m4/ax_boost_base.m4: Fix debian multiarch_libsubdir path for arch armv7l

Without this patch, building on an RPI4 ends up with
BOOST_LDFLAGS=-L/usr/lib while libs are actually under
/usr/lib/arm-linux-gnueabihf, and configure will later file during
AX_BOOST_THREAD macro.

Change-Id: I7a6b2dca5ced6a6a5232fe78b071dfafdda0b0f3
changes/25/17225/1
Pau Espin 3 years ago
parent
commit
6b18a31738
  1. 1
      m4/ax_boost_base.m4

1
m4/ax_boost_base.m4

@ -123,6 +123,7 @@ AC_DEFUN([_AX_BOOST_BASE_RUNDETECT],[
dnl are almost assuredly the ones desired.
AS_CASE([${host_cpu}],
[i?86],[multiarch_libsubdir="lib/i386-${host_os}"],
[armv7l],[multiarch_libsubdir="lib/arm-${host_os}"],
[multiarch_libsubdir="lib/${host_cpu}-${host_os}"]
)

Loading…
Cancel
Save