From 428c59180d51ab6fa4ac820bb49189ae81ded3cb Mon Sep 17 00:00:00 2001 From: Po Lu Date: Mon, 8 May 2023 08:34:27 +0800 Subject: [PATCH] Update Android port * java/Makefile.in (install_temp/assets/version): Fix generation in out of tree builds. --- java/Makefile.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/java/Makefile.in b/java/Makefile.in index 3b06fc1d4cc..84173cd9655 100644 --- a/java/Makefile.in +++ b/java/Makefile.in @@ -233,7 +233,8 @@ install_temp/assets/directory-tree: $(libsrc)/asset-directory-tool \ install_temp/assets/directory-tree install_temp/assets/version: install_temp - $(AM_V_GEN) { (git rev-parse HEAD || echo "Unknown") \ + $(AM_V_GEN) { (cd $(top_srcdir) \ + && git rev-parse HEAD || echo "Unknown") \ && (git rev-parse --abbrev-ref HEAD \ || echo "Unknown") } 2> /dev/null > $@ -- 2.39.5