2023-02-08 17:04:30 +01:00
|
|
|
#!/bin/bash -e
|
2023-04-27 19:17:42 +02:00
|
|
|
if [[ -n ${GH_CROSSBUILD} ]]; then
|
|
|
|
export CROSS_BUILD_DEPS_DIR=""
|
|
|
|
fi
|
2023-02-08 17:04:30 +01:00
|
|
|
source ./scripts/continuous-integration/github-workflows/setup-variables.sh
|
|
|
|
|
|
|
|
export JAVA_HOME
|
|
|
|
JAVA_HOME="$(find "/usr/lib/jvm/" -maxdepth 1 -type d -iname "java*jdk*" | head -n 1)/"
|
|
|
|
export JAVA_INCLUDE_PATH="$JAVA_HOME/include"
|
|
|
|
|