From e89b1fffcc0a1389ea0145d00b9ef246cb7eafd8 Mon Sep 17 00:00:00 2001 From: Ivan Komissarov Date: Mon, 20 Sep 2021 22:16:56 +0300 Subject: freebsd: fix TestBlackbox::removeDuplicateLibraries FreeBSD uses the LLVM linker these days, so we need to check that similar as we do on macOS Change-Id: I28b8aa0743173b20caa8932f942b59dd369d686a Reviewed-by: Christian Kandeler --- .../blackbox/testdata/remove-duplicate-libs/remove-duplicate-libs.qbs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/auto/blackbox/testdata/remove-duplicate-libs/remove-duplicate-libs.qbs b/tests/auto/blackbox/testdata/remove-duplicate-libs/remove-duplicate-libs.qbs index 4ffb8d0e2..a6b97bad2 100644 --- a/tests/auto/blackbox/testdata/remove-duplicate-libs/remove-duplicate-libs.qbs +++ b/tests/auto/blackbox/testdata/remove-duplicate-libs/remove-duplicate-libs.qbs @@ -4,8 +4,9 @@ Project { property bool removeDuplicates property string libDir: buildDirectory + "/lib" property bool dummy: { + // most BSD systems (including macOS) use LLVM linker now console.info("is bfd linker: " - + (qbs.toolchain.contains("gcc") && !qbs.hostOS.contains("macos"))) + + (qbs.toolchain.contains("gcc") && !qbs.hostOS.contains("bsd"))) } qbsSearchPaths: "." -- cgit v1.2.3