Skip to content

Commit

Permalink
Merge pull request #282 from google/revert-273-dynamic-glibc
Browse files Browse the repository at this point in the history
Revert "Support multiple libc versions by dynamically linking against libc"
  • Loading branch information
brad4d committed Jan 23, 2023
2 parents fb997d8 + d021dad commit 9ecbe3c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions build-scripts/graal.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,6 @@ const NATIVE_IMAGE_BUILD_ARGS = [
path.resolve(process.cwd(), 'compiler.jar')
];

if (process.platform !== 'darwin') {
// MacOS does not support building statically linked images
NATIVE_IMAGE_BUILD_ARGS.unshift('-H:+StaticExecutableWithDynamicLibC');
}

runCommand(`native-image${process.platform === 'win32' ? '.cmd' : ''}`, NATIVE_IMAGE_BUILD_ARGS)
.catch(e => {
console.error(e);
Expand Down

0 comments on commit 9ecbe3c

Please sign in to comment.