shithub: openh264

Download patch

ref: 0e99473a463e24624223268e9694d2ab36a8a914
parent: 8368f66afe16a3a331768f324daaac678f0e5904
author: Martin Storsjö <[email protected]>
date: Fri Apr 17 11:56:56 EDT 2015

Reorder ifeq/ifneq for a long if statement

By having the very short clause first, it is easier to see
what it belongs to.

--- a/Makefile
+++ b/Makefile
@@ -270,7 +270,10 @@
 install: install-static-lib install-shared
 	@:
 
-ifeq ($(HAVE_GTEST),Yes)
+ifneq ($(HAVE_GTEST),Yes)
+binaries:
+	@:
+else
 include $(SRC_PATH)build/gtest-targets.mk
 include $(SRC_PATH)test/api/targets.mk
 include $(SRC_PATH)test/decoder/targets.mk
@@ -325,9 +328,6 @@
 endif
 endif
 
-else
-binaries:
-	@:
 endif
 
 -include $(OBJS:.$(OBJ)=.d)