Skip to content

Commit

Permalink
make one condition for .so
Browse files Browse the repository at this point in the history
  • Loading branch information
isuruf committed Oct 16, 2023
1 parent a1b5675 commit 42b9553
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions conda_build/environ.py
Original file line number Diff line number Diff line change
Expand Up @@ -581,9 +581,7 @@ def get_shlib_ext(host_platform):
return ".dll"
elif host_platform in ["osx", "darwin"]:
return ".dylib"
elif host_platform.startswith("linux") or host_platform.endswith("-wasm32"):
return ".so"
elif host_platform.startswith("freebsd"):
elif host_platform.startswith(("linux", "freebsd")) or host_platform.endswith("-wasm32"):
return ".so"
elif host_platform == "noarch":
# noarch packages should not contain shared libraries, use the system
Expand Down

0 comments on commit 42b9553

Please sign in to comment.