I import gperftools use configure_make, for some reason, for gperftools has link problem if link to libunwind dynamically, so I have to specify "$$EXT_BUILD_DEPS$$/lib/libunwind.a", in linkopts, so gperftools it self can compile and link success(bazel build @gperftools//... success), but linker will meet cannot find "$$EXT_BUILD_DEPS$$/lib/libunwind.a" when link my own target, how to fix this? cannnot use EXT_BUILD_DEPS in linkopts, anyother solution?
I import gperftools use configure_make, for some reason, for gperftools has link problem if link to libunwind dynamically, so I have to specify "$$EXT_BUILD_DEPS$$/lib/libunwind.a", in linkopts, so gperftools it self can compile and link success(bazel build @gperftools//... success), but linker will meet cannot find "$$EXT_BUILD_DEPS$$/lib/libunwind.a" when link my own target, how to fix this? cannnot use EXT_BUILD_DEPS in linkopts, anyother solution?