googletest/googletest-enable-make-install.patch

21 lines
821 B
Diff
Raw Normal View History

Index: gtest-1.7.0/Makefile.am
===================================================================
--- gtest-1.7.0.orig/Makefile.am
+++ gtest-1.7.0/Makefile.am
@@ -292,15 +292,3 @@ endif
# 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