fix installer flag --use-system-protobuf (#11539)
Timotej S committed
Sep 21, 2021 at 14:29 UTC
596493620f10646c8cc772b37c0f8e2f9d9ca0cc
1 file changed
+4
-1
netdata-installer.sh
+4
-1
@@ -286,7 +286,10 @@ while [ -n "${1}" ]; do
286
"--zlib-is-really-here") LIBS_ARE_HERE=1 ;;
287
"--libs-are-really-here") LIBS_ARE_HERE=1 ;;
288
"--use-system-lws") USE_SYSTEM_LWS=1 ;;
289
- "--use-system-protobuf") USE_SYSTEM_PROTOBUF=1 ;;
289
+ "--use-system-protobuf")
290
+ USE_SYSTEM_PROTOBUF=1
291
+ NETDATA_CONFIGURE_OPTIONS="${NETDATA_CONFIGURE_OPTIONS//--without-bundled-protobuf/} --without-bundled-protobuf"
292
+ ;;
293
"--dont-scrub-cflags-even-though-it-may-break-things") DONT_SCRUB_CFLAGS_EVEN_THOUGH_IT_MAY_BREAK_THINGS=1 ;;
294
"--dont-start-it") DONOTSTART=1 ;;
295
"--dont-wait") DONOTWAIT=1 ;;