about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2021-02-14 15:09:01 +0100
committerbjorn3 <bjorn3@users.noreply.github.com>2021-02-14 18:13:06 +0100
commit87ecdaa8482b7bcdc5a0adabea1cfb3f493705fa (patch)
tree256f7a16bc30f3f3e36d69af401262cd7b389c2d /scripts
parent9be3936e955139c010c3502670f67ec92440ed0c (diff)
downloadrust-87ecdaa8482b7bcdc5a0adabea1cfb3f493705fa.tar.gz
rust-87ecdaa8482b7bcdc5a0adabea1cfb3f493705fa.zip
Recognize FreeBSD as OS
Diffstat (limited to 'scripts')
-rw-r--r--scripts/config.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/config.sh b/scripts/config.sh
index 834708aa9a6..e1f54e4a8b5 100644
--- a/scripts/config.sh
+++ b/scripts/config.sh
@@ -3,7 +3,7 @@
 set -e
 
 unamestr=$(uname)
-if [[ "$unamestr" == 'Linux' ]]; then
+if [[ "$unamestr" == 'Linux' || "$unamestr" == 'FreeBSD' ]]; then
    dylib_ext='so'
 elif [[ "$unamestr" == 'Darwin' ]]; then
    dylib_ext='dylib'