Merge pull request #278679 from kolloch/feature/build-rust-crate-without-sharedLibrary-extension

build-rust-crate: Allow missing `hostPlatform.extensions.sharedLibrary`
This commit is contained in:
John Ericson 2024-01-10 21:50:54 -05:00 committed by GitHub
commit 3eb8277236
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,7 +51,7 @@
# configure & source common build functions
LIB_RUSTC_OPTS="${libRustcOpts}"
BIN_RUSTC_OPTS="${binRustcOpts}"
LIB_EXT="${stdenv.hostPlatform.extensions.sharedLibrary}"
LIB_EXT="${stdenv.hostPlatform.extensions.sharedLibrary or ""}"
LIB_PATH="${libPath}"
LIB_NAME="${libName}"