shithub: openh264

Download patch

ref: e7795c8dc646b22596eb8da0af2520e711fd9ec4
parent: 1928b9a1ba6f7c18ebc058835f308c3d7016a1da
author: EKR <ekr@rtfm.com>
date: Thu Dec 12 08:12:20 EST 2013

Fix gtest detection

--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@
 CP=cp
 ROOTDIR=$(PWD)
 
-ifeq (,wildcard ./gtest)
+ifeq (,$(wildcard ./gtest))
 HAVE_GTEST=No
 else
 HAVE_GTEST=Yes
@@ -58,10 +58,11 @@
 
 CODEC_UNITTEST_LDFLAGS = -L. -lgtest -ldecoder -lcommon
 
-all:	$(GTEST_TARGETS) libraries binaries
+all:	libraries binaries
 
 clean:
 	rm -f $(OBJS) $(LIBRARIES) $(BINARIES)
+	echo $(HAVE_GTEST)
 
 gtest-bootstrap:
 	svn co https://googletest.googlecode.com/svn/trunk/ gtest