From ee5c47128015475780a0b7fa473b4e80a86f3e55 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 22 Dec 2023 16:31:56 +0100 Subject: [PATCH] android/meson.build: pass @OUTDIR@ to run-javac.sh --- android/meson.build | 2 +- android/run-javac.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/android/meson.build b/android/meson.build index 9e584058a..0ba6388f8 100644 --- a/android/meson.build +++ b/android/meson.build @@ -28,7 +28,7 @@ bridge_header = custom_target( join_paths(meson.current_source_dir(), 'run-javac.sh'), javac, join_paths(android_sdk_platform_dir, 'android.jar'), - '@OUTPUT@', + '@OUTDIR@', '@INPUT@', ], ) diff --git a/android/run-javac.sh b/android/run-javac.sh index b279a72fa..5890dc621 100755 --- a/android/run-javac.sh +++ b/android/run-javac.sh @@ -2,7 +2,7 @@ JAVAC=$1 CLASSPATH=$2 -DIRNAME=`dirname "$3"` +DIRNAME=$3 REALDIR=`realpath "$DIRNAME"` GENINCLUDE="$REALDIR/include"