File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ use std::path::Path;
44fn main ( ) {
55 let target = env:: var ( "TARGET" ) . unwrap ( ) ;
66 println ! ( "target={}" , target) ;
7- if win_env . find ( "-windows-" ) . is_some ( ) {
7+ if target . find ( "-windows-" ) . is_some ( ) {
88 println ! ( "cargo:rustc-link-lib=indy.dll" ) ;
99
1010 let profile = env:: var ( "PROFILE" ) . unwrap ( ) ;
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ if [ "$(uname)" == "Darwin" ]; then
5454elif [ " $( expr substr $( uname -s) 1 5) " == " Linux" ]; then
5555 echo " Downloading NDK for Linux"
5656 export TOOLCHAIN_PREFIX=${WORKDIR} /toolchains/linux
57- mkdir ${TOOLCHAIN_PREFIX}
57+ mkdir -p ${TOOLCHAIN_PREFIX}
5858 pushd $TOOLCHAIN_PREFIX
5959 if [ ! -d " android-ndk-r16b" ] ; then
6060 echo " Downloading android-ndk-r16b-linux-x86_64.zip"
You can’t perform that action at this time.
0 commit comments