File tree 1 file changed +5
-1
lines changed
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -294,11 +294,15 @@ fn prepare_libort_dir() -> (PathBuf, bool) {
294
294
add_search_dir ( transform_dep ( external_lib_dir. join ( "abseil_cpp-build" ) . join ( "absl" ) . join ( "debugging" ) , & profile) ) ;
295
295
println ! ( "cargo:rustc-link-lib=static=absl_symbolize" ) ;
296
296
println ! ( "cargo:rustc-link-lib=static=absl_stacktrace" ) ;
297
- add_search_dir ( transform_dep ( external_lib_dir. join ( "abseil_cpp-build" ) . join ( "absl" ) . join ( "log" ) , & profile) ) ;
297
+ let abseil_lib_log_dir = transform_dep ( external_lib_dir. join ( "abseil_cpp-build" ) . join ( "absl" ) . join ( "log" ) , & profile) ;
298
+ add_search_dir ( & abseil_lib_log_dir) ;
298
299
println ! ( "cargo:rustc-link-lib=static=absl_log_globals" ) ;
299
300
println ! ( "cargo:rustc-link-lib=static=absl_log_internal_format" ) ;
300
301
println ! ( "cargo:rustc-link-lib=static=absl_log_internal_proto" ) ;
301
302
println ! ( "cargo:rustc-link-lib=static=absl_log_internal_globals" ) ;
303
+ if abseil_lib_log_dir. join ( platform_format_lib ( "absl_log_internal_check_op" ) ) . exists ( ) {
304
+ println ! ( "cargo:rustc-link-lib=static=absl_log_internal_check_op" ) ;
305
+ }
302
306
println ! ( "cargo:rustc-link-lib=static=absl_log_internal_log_sink_set" ) ;
303
307
println ! ( "cargo:rustc-link-lib=static=absl_log_sink" ) ;
304
308
println ! ( "cargo:rustc-link-lib=static=absl_log_internal_message" ) ;
You can’t perform that action at this time.
0 commit comments