File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -308,6 +308,10 @@ mod operations {
308
308
let mut mbed_lib_dir = compile_mbed_crypto ( ) ?;
309
309
let mut mbed_include_dir = mbed_lib_dir. clone ( ) ;
310
310
mbed_lib_dir. push ( "lib" ) ;
311
+ if !mbed_lib_dir. as_path ( ) . exists ( ) {
312
+ _ = mbed_lib_dir. pop ( ) ;
313
+ mbed_lib_dir. push ( "lib64" ) ;
314
+ }
311
315
mbed_include_dir. push ( "include" ) ;
312
316
313
317
lib = mbed_lib_dir. to_str ( ) . unwrap ( ) . to_owned ( ) ;
@@ -357,6 +361,11 @@ mod operations {
357
361
let mut mbed_lib_dir = compile_mbed_crypto ( ) ?;
358
362
let mut mbed_include_dir = mbed_lib_dir. clone ( ) ;
359
363
mbed_lib_dir. push ( "lib" ) ;
364
+ if !mbed_lib_dir. as_path ( ) . exists ( ) {
365
+ _ = mbed_lib_dir. pop ( ) ;
366
+ mbed_lib_dir. push ( "lib64" ) ;
367
+ }
368
+
360
369
mbed_include_dir. push ( "include" ) ;
361
370
let main_lib = mbed_lib_dir. join ( "libmbedcrypto.a" ) ;
362
371
@@ -388,6 +397,7 @@ mod operations {
388
397
let ( from, _) = & lib;
389
398
args. push ( from. as_os_str ( ) ) ;
390
399
}
400
+ println ! ( "BILL: args: {:?}" , args) ;
391
401
let output = std:: process:: Command :: new ( "nm" )
392
402
. args ( args)
393
403
. output ( )
You can’t perform that action at this time.
0 commit comments