aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-02-19 15:46:35 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2020-02-19 15:46:50 +0100
commit6b18a31738d41b925c646198ca3898193bd46e40 (patch)
tree36dd96369247e6feff81f2da34bc973b419d8beb
parente4a083b14cac5597c76196e0508cf66abd6628b1 (diff)
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
-rw-r--r--m4/ax_boost_base.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/m4/ax_boost_base.m4 b/m4/ax_boost_base.m4
index 16fa69b..7b8190a 100644
--- a/m4/ax_boost_base.m4
+++ b/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}"]
)