--- .bazelrc.orig 2019-07-13 21:45:36.138413000 +0100 +++ .bazelrc 2019-07-13 21:46:25.898491000 +0100 @@ -101,7 +101,7 @@ build:c++1z --cxxopt=-stdlib=libc++ # Default paths for TF_SYSTEM_LIBS -build --define=PREFIX=/usr +build --define=PREFIX=%%LOCALBASE%% build --define=LIBDIR=$(PREFIX)/lib build --define=INCLUDEDIR=$(PREFIX)/include