summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Levine <plevine457@gmail.com>2018-09-13 21:05:13 -0400
committerMichał Górny <mgorny@gentoo.org>2018-09-22 09:07:10 +0200
commit0046e49dc0a3f3c9bf8aedbfb18df752152a4d03 (patch)
tree3f1297ef6aa37219da907d9d0711b75cfa4bf85f
parentdev-cpp/gtest: Clean up cmake configure options (diff)
downloadgentoo-0046e49dc0a3f3c9bf8aedbfb18df752152a4d03.tar.gz
gentoo-0046e49dc0a3f3c9bf8aedbfb18df752152a4d03.tar.bz2
gentoo-0046e49dc0a3f3c9bf8aedbfb18df752152a4d03.zip
dev-cpp/gtest: Reenable building shared libraries
The doublefree bug is fixed upstream with the merge of https://github.com/google/googletest/pull/1339 Package-Manager: Portage-2.3.49, Repoman-2.3.10
-rw-r--r--dev-cpp/gtest/gtest-9999.ebuild6
1 files changed, 1 insertions, 5 deletions
diff --git a/dev-cpp/gtest/gtest-9999.ebuild b/dev-cpp/gtest/gtest-9999.ebuild
index a1b5e7ed14c4..a2e7c57c55e9 100644
--- a/dev-cpp/gtest/gtest-9999.ebuild
+++ b/dev-cpp/gtest/gtest-9999.ebuild
@@ -40,11 +40,7 @@ multilib_src_configure() {
local mycmakeargs=(
-DBUILD_GMOCK=ON
-DINSTALL_GTEST=ON
-
- # currently only static libs work
- # due to numerous ODR violations
- # https://github.com/google/googletest/issues/930
- -DBUILD_SHARED_LIBS=OFF
+ -DBUILD_SHARED_LIBS=ON
# tests
-Dgmock_build_tests=$(usex test)