From 89857415a9769ac1743c0f89c26c618693ebbd43 Mon Sep 17 00:00:00 2001 From: Henrik Grimler Date: Sat, 21 Aug 2021 18:40:40 +0200 Subject: [PATCH] libandroid-support: prevent mkdir error if objects folder exists --- packages/libandroid-support/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/libandroid-support/build.sh b/packages/libandroid-support/build.sh index f9ccee53c..6dd181c92 100644 --- a/packages/libandroid-support/build.sh +++ b/packages/libandroid-support/build.sh @@ -20,7 +20,7 @@ termux_step_post_get_source() { termux_step_make() { local c_file - mkdir objects + mkdir -p objects for c_file in $(find src -type f -iname \*.c); do $CC $CPPFLAGS $CFLAGS -std=c99 -DNULL=0 -fPIC -Iinclude \ -c $c_file -o ./objects/$(basename "$c_file").o