Closed fneddy closed 7 years ago
the important line might be in gcc-rs and not in cpp-rs:
https://github.com/alexcrichton/cc-rs/blob/master/src/lib.rs#L734
ahhh never mind ... this is not an issue
this issue because using the pkg_config crate to find the libraries. But pkg_config::Config::probe_library will automatically print the rustc metadat.
this issue is solved
if I do this in build.rs:main
sometimes the linker gets an error of the kind
undefined reference
.if i then copy the complete
cc
command and put the"-l" "rust_cpp_generated"
before the"-l" "SomeLib"
there is no error.is there a way to force the order of the linker instructions?