shithub: openh264

Download patch

ref: 6ac6b941cfd31cc965d5c44bf0c0253bdba24377
parent: 4d31f66873651a1734bed7e650a452bb6cfeb286
author: Martin Storsjö <[email protected]>
date: Thu Feb 20 06:41:19 EST 2014

Don't quote the android building commands in sh -c ''

The full command line can be written as such without any extra
wrapping.

--- a/build/platform-android.mk
+++ b/build/platform-android.mk
@@ -41,7 +41,7 @@
 binaries : decdemo encdemo
 
 decdemo: libraries
-	sh -c 'cd ./codec/build/android/dec/jni && $(NDKROOT)/ndk-build -B APP_ABI=$(APP_ABI) && cd .. && android update project -t $(TARGET) -p . && ant debug && cd ../../../..'
+	cd ./codec/build/android/dec/jni && $(NDKROOT)/ndk-build -B APP_ABI=$(APP_ABI) && cd .. && android update project -t $(TARGET) -p . && ant debug && cd ../../../..
 
 encdemo: libraries
-	sh -c 'cd ./codec/build/android/enc/jni && $(NDKROOT)/ndk-build -B APP_ABI=$(APP_ABI) && cd .. && android update project -t $(TARGET) -p . && ant debug && cd ../../../..'
+	cd ./codec/build/android/enc/jni && $(NDKROOT)/ndk-build -B APP_ABI=$(APP_ABI) && cd .. && android update project -t $(TARGET) -p . && ant debug && cd ../../../..