shithub: openh264

Download patch

ref: 513dfde31cf802e2ce08cc3a20f82112cdefcc60
parent: 4f8c4f59255ac5b839ce0a76b67a51f48b2f42e7
author: Martin Storsjö <martin@martin.st>
date: Fri Apr 17 11:36:33 EDT 2015

Reduce some nested ifdefs in the makefile

--- a/Makefile
+++ b/Makefile
@@ -193,14 +193,15 @@
 endif
 endif
 
+libraries: $(LIBPREFIX)$(PROJECT_NAME).$(LIBSUFFIX)
+
+# No point in building dylib for ios
 ifneq (ios, $(OS))
-ifeq (msvc-wp, $(OS))
-libraries: $(LIBPREFIX)$(PROJECT_NAME).$(LIBSUFFIX) $(LIBPREFIX)$(PROJECT_NAME).$(SHAREDLIBSUFFIX) $(LIBPREFIX)ut.$(SHAREDLIBSUFFIX)
-else
-libraries: $(LIBPREFIX)$(PROJECT_NAME).$(LIBSUFFIX) $(LIBPREFIX)$(PROJECT_NAME).$(SHAREDLIBSUFFIX)
+libraries: $(LIBPREFIX)$(PROJECT_NAME).$(SHAREDLIBSUFFIX)
 endif
-else
-libraries: $(LIBPREFIX)$(PROJECT_NAME).$(LIBSUFFIX)
+
+ifeq (msvc-wp, $(OS))
+libraries: $(LIBPREFIX)ut.$(SHAREDLIBSUFFIX)
 endif
 
 LIBRARIES += $(LIBPREFIX)$(PROJECT_NAME).$(LIBSUFFIX) $(LIBPREFIX)$(PROJECT_NAME).$(SHAREDLIBSUFFIXVER)