summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichael Martis <martis@chromium.org>2021-02-05 14:15:39 +1100
committerJason Zaman <perfinion@gentoo.org>2021-02-04 19:42:03 -0800
commit955f9a736f97b8d08296e82e92fc4ccfc4c63cfd (patch)
treee670768c19f095d0d93f9343fba98f92f737ec85 /eclass
parentsys-cluster/nova: 21.1.2 and 22.1.0 bump (diff)
downloadgentoo-955f9a736f97b8d08296e82e92fc4ccfc4c63cfd.tar.gz
gentoo-955f9a736f97b8d08296e82e92fc4ccfc4c63cfd.tar.bz2
gentoo-955f9a736f97b8d08296e82e92fc4ccfc4c63cfd.zip
bazel.eclass: Expose INCLUDEDIR to Bazel projects
Signed-off-by: Michael Martis <martis@chromium.org> Signed-off-by: Jason Zaman <perfinion@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/bazel.eclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/eclass/bazel.eclass b/eclass/bazel.eclass
index 854b740db4f2..ac7ca241519c 100644
--- a/eclass/bazel.eclass
+++ b/eclass/bazel.eclass
@@ -113,6 +113,7 @@ bazel_setup_bazelrc() {
build --define=PREFIX=${EPREFIX%/}/usr
build --define=LIBDIR=\$(PREFIX)/$(get_libdir)
+ build --define=INCLUDEDIR=\$(PREFIX)/include
EOF
if tc-is-cross-compiler; then