android/meson.build: pass @OUTDIR@ to run-javac.sh

This commit is contained in:
Max Kellermann 2023-12-22 16:31:56 +01:00
parent 8ef47147a0
commit ee5c471280
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ bridge_header = custom_target(
join_paths(meson.current_source_dir(), 'run-javac.sh'), join_paths(meson.current_source_dir(), 'run-javac.sh'),
javac, javac,
join_paths(android_sdk_platform_dir, 'android.jar'), join_paths(android_sdk_platform_dir, 'android.jar'),
'@OUTPUT@', '@OUTDIR@',
'@INPUT@', '@INPUT@',
], ],
) )

View File

@ -2,7 +2,7 @@
JAVAC=$1 JAVAC=$1
CLASSPATH=$2 CLASSPATH=$2
DIRNAME=`dirname "$3"` DIRNAME=$3
REALDIR=`realpath "$DIRNAME"` REALDIR=`realpath "$DIRNAME"`
GENINCLUDE="$REALDIR/include" GENINCLUDE="$REALDIR/include"