From dad025c5e7661d2fc9f45205b04fdb80478deff1 Mon Sep 17 00:00:00 2001
From: Joe Garcia <joe.garcia@ssec.wisc.edu>
Date: Mon, 19 Apr 2021 21:37:32 -0500
Subject: [PATCH] fix for linux

---
 ShellB3/sb3bin/thosewhohuntelfs.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ShellB3/sb3bin/thosewhohuntelfs.py b/ShellB3/sb3bin/thosewhohuntelfs.py
index 5ba44706..93e68901 100755
--- a/ShellB3/sb3bin/thosewhohuntelfs.py
+++ b/ShellB3/sb3bin/thosewhohuntelfs.py
@@ -477,7 +477,7 @@ def probe(base,forbiddenlibs=''):
     else:
         darwinNumber=int(platform.release().split('.')[0])
         macname=macVer(darwinToMacVer(darwinNumber))
-    if darwinNumber>=20 and len(usesysroot)<=1:
+    if not elvish and darwinNumber>=20 and len(usesysroot)<=1:
         usesysroot="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk"
     for path in hunt_elfs(base,elvish=elvish):
         if elvish:
-- 
GitLab