summaryrefslogtreecommitdiff
path: root/source/xap/mozilla-thunderbird
diff options
context:
space:
mode:
Diffstat (limited to 'source/xap/mozilla-thunderbird')
-rwxr-xr-xsource/xap/mozilla-thunderbird/mozilla-thunderbird.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/xap/mozilla-thunderbird/mozilla-thunderbird.SlackBuild b/source/xap/mozilla-thunderbird/mozilla-thunderbird.SlackBuild
index 58667bf8..4ee9abab 100755
--- a/source/xap/mozilla-thunderbird/mozilla-thunderbird.SlackBuild
+++ b/source/xap/mozilla-thunderbird/mozilla-thunderbird.SlackBuild
@@ -119,7 +119,7 @@ export CC=${CC:-clang}
export CXX=${CXX:-clang++}
# Set linker to use:
-if [ "$CC" = "clang" ]; then
+if [ "$CC" = "clang" -a "$(which lld 2> /dev/null)" = "/usr/bin/lld" ]; then
# Upstream default:
LINKER=lld
else