Skip to content

Commit

Permalink
attempt to use uniform java library location under bin #7406
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolajBjorner committed Sep 30, 2024
1 parent 5413018 commit b65afd4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions scripts/mk_win_dist_cmake.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,9 +376,10 @@ def cp_into_bin(arch):
shutil.rmtree(lib_dir)
if JAVA_ENABLED:
java_dir = get_java_dist_path(arch)
shutil.copytree(java_dir,
bin_dir,
dirs_exist_ok=True)
for file in os.listdir(java_dir):
src_path = os.path.join(java_dir, file)
dst_path = os.path.join(bin_dir, file)
shutil.copy2(src_path, dst_path)
shutil.rmtree(java_dir)

def cp_pdb(arch):
Expand Down

0 comments on commit b65afd4

Please sign in to comment.