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"