libandroid-support: prevent mkdir error if objects folder exists

This commit is contained in:
Henrik Grimler 2021-08-21 18:40:40 +02:00
parent 0c8a398d0e
commit 89857415a9

View File

@ -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