gtest: link against libregex for GNU extensions

gtest tests want to use \w ([[:alnum:]]) at the very least, which was
causing them to fail after r363679.

Start linking against libregex so that this shorthand is implemented.

PR:		248452
This commit is contained in:
Kyle Evans 2020-08-04 02:18:24 +00:00
parent 61898cde69
commit b4af4f93c6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=363820
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ INTERNAL_CUSTOM_INCS+= gtest/internal/custom/gtest.h
SRCS+= gtest-all.cc
LIBADD+= pthread
LIBADD+= pthread regex
HAS_TESTS=
SUBDIR.${MK_TESTS}+= tests

View File

@ -320,7 +320,7 @@ _DP_dpv= dialog figpar util ncursesw
_DP_dialog= ncursesw m
_DP_cuse= pthread
_DP_atf_cxx= atf_c
_DP_gtest= pthread
_DP_gtest= pthread regex
_DP_gmock= gtest
_DP_gmock_main= gmock
_DP_gtest_main= gtest