LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File 0001_Allow_make_install.patch of Package gtest (Project GNOME:Ayatana)

diff -Nru gtest-1.6.0.orig/Makefile.am gtest-1.6.0/Makefile.am
--- gtest-1.6.0.orig/Makefile.am	2012-08-21 21:47:32.282625837 -0400
+++ gtest-1.6.0/Makefile.am	2012-08-21 21:47:47.144611058 -0400
@@ -288,15 +288,3 @@
 # Death tests may produce core dumps in the build directory. In case
 # this happens, clean them to keep distcleancheck happy.
 CLEANFILES = core
-
-# Disables 'make install' as installing a compiled version of Google
-# Test can lead to undefined behavior due to violation of the
-# One-Definition Rule.
-
-install-exec-local:
-	echo "'make install' is dangerous and not supported. Instead, see README for how to integrate Google Test into your build system."
-	false
-
-install-data-local:
-	echo "'make install' is dangerous and not supported. Instead, see README for how to integrate Google Test into your build system."
-	false