From de3f7f982ac16c1d71f40e5b0ff0ef306504b96b Mon Sep 17 00:00:00 2001 From: midipix Date: Dec 09 2016 03:31:31 +0000 Subject: build system: configure: pass --sysroot to the linker as a compiler argument. --- diff --git a/configure b/configure index c13f5f4..1c326f7 100755 --- a/configure +++ b/configure @@ -226,7 +226,7 @@ common_defaults() fi if [ -z "$mb_ldflags_sysroot" ]; then - mb_ldflags_sysroot="-Wl,--sysroot,$mb_sysroot" + mb_ldflags_sysroot="--sysroot=$mb_sysroot" fi fi