Fix Boost with make build

This prevents the autotools build from discovering Boost in Homebrew
installation directories on macOS.

Change-Id: I624309165c9371c391fd657424ba4c4f3182b385
This commit is contained in:
Rebecca Turner 2024-04-05 11:09:59 -07:00
parent 83d720b730
commit 5081109592

View file

@ -240,8 +240,9 @@ in stdenv.mkDerivation (finalAttrs: {
fi
'';
configureFlags = lib.optionals stdenv.isLinux [
configureFlags = [
"--with-boost=${boost}/lib"
] ++ lib.optionals stdenv.isLinux [
"--with-sandbox-shell=${busybox-sandbox-shell}/bin/busybox"
] ++ lib.optionals (stdenv.isLinux && !(stdenv.hostPlatform.isStatic && stdenv.system == "aarch64-linux")) [
"LDFLAGS=-fuse-ld=gold"