Skip to content

Commit

Permalink
Add android support
Browse files Browse the repository at this point in the history
  • Loading branch information
tguillem authored and lu-zero committed Sep 7, 2020
1 parent 88d2f54 commit ddcf63b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/build_targets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ impl BuildTargets {
let env = &target.env;

let (shared_lib, static_lib, impl_lib, def) = match (os.as_str(), env.as_str()) {
("linux", _) | ("freebsd", _) | ("dragonfly", _) | ("netbsd", _) => {
("linux", _) | ("freebsd", _) | ("dragonfly", _) | ("netbsd", _) | ("android", _) => {
let static_lib = targetdir.join(&format!("lib{}.a", lib_name));
let shared_lib = targetdir.join(&format!("lib{}.so", lib_name));
(shared_lib, static_lib, None, None)
Expand Down

0 comments on commit ddcf63b

Please sign in to comment.