Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
Date: Sat, 22 Sep 2018 07:07:33
Message-Id: 1537600030.0046e49dc0a3f3c9bf8aedbfb18df752152a4d03.mgorny@gentoo
1 commit: 0046e49dc0a3f3c9bf8aedbfb18df752152a4d03
2 Author: Peter Levine <plevine457 <AT> gmail <DOT> com>
3 AuthorDate: Fri Sep 14 01:05:13 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 22 07:07:10 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0046e49d
7
8 dev-cpp/gtest: Reenable building shared libraries
9
10 The doublefree bug is fixed upstream with the merge of
11 https://github.com/google/googletest/pull/1339
12
13 Package-Manager: Portage-2.3.49, Repoman-2.3.10
14
15 dev-cpp/gtest/gtest-9999.ebuild | 6 +-----
16 1 file changed, 1 insertion(+), 5 deletions(-)
17
18 diff --git a/dev-cpp/gtest/gtest-9999.ebuild b/dev-cpp/gtest/gtest-9999.ebuild
19 index a1b5e7ed14c..a2e7c57c55e 100644
20 --- a/dev-cpp/gtest/gtest-9999.ebuild
21 +++ b/dev-cpp/gtest/gtest-9999.ebuild
22 @@ -40,11 +40,7 @@ multilib_src_configure() {
23 local mycmakeargs=(
24 -DBUILD_GMOCK=ON
25 -DINSTALL_GTEST=ON
26 -
27 - # currently only static libs work
28 - # due to numerous ODR violations
29 - # https://github.com/google/googletest/issues/930
30 - -DBUILD_SHARED_LIBS=OFF
31 + -DBUILD_SHARED_LIBS=ON
32
33 # tests
34 -Dgmock_build_tests=$(usex test)