android_mt6572_jiabo/ndk/tests/build/multi-module-path/build.sh
2025-09-05 16:56:03 +08:00

11 lines
204 B
Bash
Executable file

#!/bin/sh
echo "\$0=$0"
cd `dirname $0`
echo "PWD=`pwd`"
export NDK_MODULE_PATH=`pwd`/path1:`pwd`/path2
$NDK/ndk-build "$@"
if [ $? != 0 ]; then
echo "ERROR: Can't build test program!"
exit 1
fi