From dbda20ee8a807f2fd62c8a1e289af367626404d4 Mon Sep 17 00:00:00 2001 From: Maarten Billemont Date: Wed, 29 May 2019 12:49:49 -0400 Subject: [PATCH] Fix for building after SDK path changes. --- lib/bin/build_lib | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/bin/build_lib b/lib/bin/build_lib index f3e50866..a573278b 100755 --- a/lib/bin/build_lib +++ b/lib/bin/build_lib @@ -110,6 +110,11 @@ prepare_clean() { _prepare_clean "$@"; } _prepare_clean() { local prefix=$1 platform=$2; shift 2 + if [[ $platform = windows ]]; then : + else + [[ ! -e Makefile ]] || make -s clean || git clean -fdx + fi + rm -rf "$prefix" install -d "$prefix/out" }