From f0ff512b7585ff566b25c1d7c92e0065b4bca036 Mon Sep 17 00:00:00 2001 From: Manuel Binna Date: Wed, 7 Jul 2021 19:14:58 +0200 Subject: [PATCH] Link -lregex on QNX According to the 2nd point on [1], -lregex is required on QNX. [1] https://www.qnx.com/developers/docs/7.1/#com.qnx.doc.ide.userguide/topic/writing_test_programs.html --- BUILD.bazel | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BUILD.bazel b/BUILD.bazel index 3c9a228f..153a348b 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -110,7 +110,7 @@ cc_library( "googletest/include", ], linkopts = select({ - ":qnx": [], + ":qnx": ["-lregex"], ":windows": [], "//conditions:default": ["-pthread"], }),