shithub: openh264

Download patch

ref: b4e1c41bcac77e7b60d80c7ad5ea21196e2fce9f
parent: 1928b9a1ba6f7c18ebc058835f308c3d7016a1da
parent: e7795c8dc646b22596eb8da0af2520e711fd9ec4
author: Ethan Hugg <ethanhugg@gmail.com>
date: Wed Dec 11 16:24:19 EST 2013

Merge pull request #16 from ekr/gtest_fixup2

make gtest-bootstrap will pull down gtest and then make will build the codec-unittest.

--- 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