]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix up dependency finding for libg{mock,test}_main
authorngie <ngie@FreeBSD.org>
Wed, 20 Feb 2019 00:19:11 +0000 (00:19 +0000)
committerngie <ngie@FreeBSD.org>
Wed, 20 Feb 2019 00:19:11 +0000 (00:19 +0000)
commit8cbe78f95d0f5de075e64ee1af897531d774cf1c
tree1ecc67afc7018b1d1793fcb755a1c09682c2aea1
parent5d625b5435cfaf313073b286628c1e6922d695cf
Fix up dependency finding for libg{mock,test}_main

- Look up the corresponding non-*_main libraries via LDFLAGS using the
  directories provided in src.libnames.mk. This will allow the libraries to
  be built in the "make libraries" phase of buildworld.
- gtest_main relies on gtest, but didn't explicitly call out the dependency
  in `LIBADD`. Fill in this missing blank.
lib/googletest/gmock_main/Makefile
lib/googletest/gtest_main/Makefile