bazel should improve consistency behavior when as a external repo #22885
Labels
team-ExternalDeps
External dependency handling, remote repositiories, WORKSPACE file.
type: feature request
untriaged
Description of the feature request:
I wrote a BUILD script for libsodium work well under libsodium source tree, build failed for search path in copts seems relative to workspace when it as an external repo, but cc_library's hdrs and srcs is ralative to libsodium source directory, these inconsistent behaviors really made me confused , in fact I think this is a bug, if made copt behavior same bettween external and it self, it can avoid many silly things, really hope guys can change this behavior, really realy thanks!!!!
demo:
https://github.com/xiedeacc/libsodium.git
https://github.com/xiedeacc/bazel_problem.git (libsodium imported in bazel_problem )
libsodium.BUILD
The text was updated successfully, but these errors were encountered: