mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-19 09:15:30 +03:00
13 lines
469 B
Diff
13 lines
469 B
Diff
cargo-c defaults to static for musl otherwise
|
|
diff --git a/cargo_wrapper.py b/cargo_wrapper.py
|
|
index e04ad39..e7b3e03 100644
|
|
--- a/cargo_wrapper.py
|
|
+++ b/cargo_wrapper.py
|
|
@@ -89,6 +89,7 @@ if __name__ == "__main__":
|
|
cargo_cmd += ['build']
|
|
else:
|
|
cargo_cmd += ['cbuild']
|
|
+ cargo_cmd += ['--library-type=cdylib']
|
|
if not opts.disable_doc:
|
|
features += ['doc']
|
|
if opts.target == 'release':
|