diff options
author | Vladimir Kobal <vlad@prokk.net> | 2020-03-16 21:09:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-16 21:09:40 +0200 |
commit | 7901ae9b05de2b827b6fa069dddb23d59686c86b (patch) | |
tree | e961e9450a8751d0908708d66baab1f7716f5ac0 /configure.ac | |
parent | 161ba1592f5412bd378ace104979ddb66cd33973 (diff) |
Fix Prometheus Remote Write build (#8411)
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 3a3dd82999..ef786d2ed1 100644 --- a/configure.ac +++ b/configure.ac @@ -1088,7 +1088,7 @@ if test "${enable_backend_prometheus_remote_write}" != "no" -a "${have_libprotob -a "${have_protoc}" = "yes" -a "${have_CXX_compiler}" = "yes"; then enable_backend_prometheus_remote_write="yes" AC_DEFINE([ENABLE_PROMETHEUS_REMOTE_WRITE], [1], [Prometheus remote write API usability]) - OPTIONAL_PROMETHEUS_REMOTE_WRITE_CFLAGS="${PROTOBUF_CFLAGS} ${SNAPPY_CFLAGS}" + OPTIONAL_PROMETHEUS_REMOTE_WRITE_CFLAGS="${PROTOBUF_CFLAGS} ${SNAPPY_CFLAGS} -Iexporting/prometheus/remote_write" CXX11FLAG="-std=c++11" OPTIONAL_PROMETHEUS_REMOTE_WRITE_LIBS="${PROTOBUF_LIBS} ${SNAPPY_LIBS}" else |