From 995ad791936d5bc2ed7ab94b7e13279dbb868119 Mon Sep 17 00:00:00 2001 From: Joseph Henry Date: Tue, 5 Jan 2021 17:14:40 -0800 Subject: [PATCH] Change lib output directory for P/INVOKE builds to append -pinvoke. Added makefile targets host_pinvoke, host_pinvoke_debug, host_pinvoke_release --- Makefile | 2 +- dist.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 48c561f..162176f 100644 --- a/Makefile +++ b/Makefile @@ -114,7 +114,7 @@ host_pinvoke: host_pinvoke_release host_pinvoke_debug host: host_debug host_release # Build every target available on this host -all: host host_jar macos ios android +all: host host_pinvoke host_jar macos ios android $(DIST_BUILD_SCRIPT) display # [For distribution process only] Prepare remote builds diff --git a/dist.sh b/dist.sh index a30efdf..27b7025 100755 --- a/dist.sh +++ b/dist.sh @@ -282,7 +282,7 @@ host_pinvoke() BIN_OUTPUT_DIR=$(pwd)/bin/$1/${NORMALIZED_OSNAME}-$(uname -m) mkdir -p $BIN_OUTPUT_DIR rm -rf $BIN_OUTPUT_DIR/* - LIB_OUTPUT_DIR=$(pwd)/lib/$1/${NORMALIZED_OSNAME}-$(uname -m) + LIB_OUTPUT_DIR=$(pwd)/lib/$1/${NORMALIZED_OSNAME}-$(uname -m)-pinvoke mkdir -p $LIB_OUTPUT_DIR rm -rf $LIB_OUTPUT_DIR/libzt.a $LIB_OUTPUT_DIR/$DYNAMIC_LIB_NAME $LIB_OUTPUT_DIR/libztcore.a # Build