However, the :libclient dependency is completely ignored, and produced Fast.so is failing at runtime due to missing symbols. I'm not sure why Bazel doesn't pick up this dependency, since CcInfos are merged in perl.bzl.
I've spent more time looking into this that I'm willing to admit, but I couldn't make it work. Any ideas, @skeletonkey?
I can workaround this issue by pulling :libclient sources into :CacheMemcachedFastXS using #23 (see: diff), but that's literally a workaround and not a proper solution.
I expect those
BUILD
rules to work:(The complete example is available here: cache_memcached_fast.BUILD)
However, the
:libclient
dependency is completely ignored, and producedFast.so
is failing at runtime due to missing symbols. I'm not sure why Bazel doesn't pick up this dependency, sinceCcInfos
are merged inperl.bzl
.I've spent more time looking into this that I'm willing to admit, but I couldn't make it work. Any ideas, @skeletonkey?
I can workaround this issue by pulling
:libclient
sources into:CacheMemcachedFastXS
using #23 (see: diff), but that's literally a workaround and not a proper solution.