Skip to content

Commit

Permalink
add wsl option
Browse files Browse the repository at this point in the history
  • Loading branch information
Scanteianu committed Jan 29, 2025
1 parent eb5f754 commit b31447b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions configureBuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,11 @@ setVariablesForConfigure() {
BUILD_CONFIG[TEST_IMAGE_PATH]=$openjdk_test_image_path
BUILD_CONFIG[DEBUG_IMAGE_PATH]=$openjdk_debug_image_path
BUILD_CONFIG[STATIC_LIBS_IMAGE_PATH]=$static_libs_path
echo "wsl val:" $WSL
if ! [[ -z ${WSL+x} ]]; then
echo "building in wsl mode"
BUILD_CONFIG[USER_SUPPLIED_CONFIGURE_ARGS]="--build=x86_64-unknown-linux-gnu --openjdk-target=x86_64-unknown-linux-gnu"
fi
}

# Set the repository to build from, defaults to adoptium if not set by the user
Expand Down

0 comments on commit b31447b

Please sign in to comment.