dev-cpp/gtest: Reenable building shared libraries
authorPeter Levine <plevine457@gmail.com>
Fri, 14 Sep 2018 01:05:13 +0000 (21:05 -0400)
committerMichał Górny <mgorny@gentoo.org>
Sat, 22 Sep 2018 07:07:10 +0000 (09:07 +0200)
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

dev-cpp/gtest/gtest-9999.ebuild

index a1b5e7ed14c4b64809f1143e13e71c52d82ac016..a2e7c57c55e93db4a170899a2fe60c527d6b32c7 100644 (file)
@@ -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)