[Android] Revert "build: Android.mk run shell commands with $(shell)"

Thomas Guillem git at videolan.org
Tue Nov 8 09:09:19 CET 2016


vlc-android | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Nov  7 17:50:21 2016 +0100| [9157cdfa4a20cf98d9c82de5709f7f7935db220d] | committer: Thomas Guillem

Revert "build: Android.mk run shell commands with $(shell)"

Fixes #152

This reverts commit f83e15d616f3678b933b593a541253c852509611.

> https://code.videolan.org/videolan/vlc-android/commit/9157cdfa4a20cf98d9c82de5709f7f7935db220d
---

 libvlc/private_libs/Android.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libvlc/private_libs/Android.mk b/libvlc/private_libs/Android.mk
index eb8cb9e..81d8469 100644
--- a/libvlc/private_libs/Android.mk
+++ b/libvlc/private_libs/Android.mk
@@ -11,12 +11,12 @@ ANDROID_PRIVATE_LIBS=$(ANDROID_PRIVATE_LIBDIR)/$(TARGET_TUPLE)/libstagefright.so
 					 $(ANDROID_PRIVATE_LIBDIR)/$(TARGET_TUPLE)/libhardware.so
 
 $(ANDROID_PRIVATE_LIBDIR)/$(TARGET_TUPLE)/%.so: $(ANDROID_PRIVATE_LIBDIR)/%.c
-	$(shell mkdir -p $(ANDROID_PRIVATE_LIBDIR)/$(TARGET_TUPLE))
+	mkdir -p $(ANDROID_PRIVATE_LIBDIR)/$(TARGET_TUPLE)
 	$(GEN)clang $< -shared -o $@
 
 $(ANDROID_PRIVATE_LIBDIR)/%.c: $(ANDROID_PRIVATE_LIBDIR)/%.symbols
 	$(VERBOSE)rm -f $@ && touch $@
-	$(GEN)$(shell for s in `cat $<`; do echo \"void $$s() {}\" >> $@; done)
+	$(GEN)for s in `cat $<`; do echo "void $$s() {}" >> $@; done
 
 ###########
 # libiOMX #



More information about the Android mailing list