Skip to content

Commit

Permalink
[jvm] Pass jars as an argument
Browse files Browse the repository at this point in the history
  • Loading branch information
pmurias committed Dec 9, 2019
1 parent 2921579 commit 15efae7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 3rdparty/nqp-configure
9 changes: 8 additions & 1 deletion Configure.pl
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,19 @@ BEGIN
"===WARNING!===\nErrors are being ignored.\nIn the case of any errors the script may behave unexpectedly.\n";
}

my %jars = (
asm => [qw<3rdparty asm asm-4.1.jar>],
'asm-tree' => [qw<3rdparty asm asm-tree-4.1.jar>],
jline => [qw<3rdparty jline jline-1.0.jar>],
jna => [qw<3rdparty jna jna-4.0.0.jar>],
);

$cfg->configure_paths;
$cfg->configure_from_options;
$cfg->configure_relocatability;
$cfg->configure_repo_urls;
$cfg->configure_commands;
$cfg->configure_jars;
$cfg->configure_jars(\%jars);
$cfg->configure_refine_vars;
$cfg->configure_backends;
$cfg->configure_misc;
Expand Down

0 comments on commit 15efae7

Please sign in to comment.