shithub: openh264

Download patch

ref: 45c21931de2c9dfb3c2341ac7964b50210f3128e
parent: fb396cd3d2613334f675e52bb6dda467457cf3c2
author: Martin Storsjö <[email protected]>
date: Sat Mar 8 08:02:33 EST 2014

Add NO_DYNAMIC_VP when building the encoder lib for the iOS simulator

This was previously only added to builds for actual devices.

--- a/codec/build/iOS/enc/welsenc/welsenc.xcodeproj/project.pbxproj
+++ b/codec/build/iOS/enc/welsenc/welsenc.xcodeproj/project.pbxproj
@@ -637,7 +637,10 @@
 					NO_DYNAMIC_VP,
 					HAVE_NEON,
 				);
-				"GCC_PREPROCESSOR_DEFINITIONS[sdk=iphonesimulator*]" = APPLE_IOS;
+				"GCC_PREPROCESSOR_DEFINITIONS[sdk=iphonesimulator*]" = (
+					APPLE_IOS,
+					NO_DYNAMIC_VP,
+				);
 				HEADER_SEARCH_PATHS = (
 					"$(SRCROOT)/../../../../common",
 					"$(SRCROOT)/../../../../processing/interface",
@@ -667,7 +670,10 @@
 					NO_DYNAMIC_VP,
 					HAVE_NEON,
 				);
-				"GCC_PREPROCESSOR_DEFINITIONS[sdk=iphonesimulator*]" = APPLE_IOS;
+				"GCC_PREPROCESSOR_DEFINITIONS[sdk=iphonesimulator*]" = (
+					APPLE_IOS,
+					NO_DYNAMIC_VP,
+				);
 				HEADER_SEARCH_PATHS = (
 					"$(SRCROOT)/../../../../common",
 					"$(SRCROOT)/../../../../processing/interface",