# HG changeset patch # User wenzelm # Date 1608156714 -3600 # Node ID 4a652d3f45222150cf9be48996a6282e5377a159 # Parent dc858da932338e02d8eed289a7077c3103da1e10 proper support for Windows/Cygwin; diff -r dc858da93233 -r 4a652d3f4522 src/Pure/Admin/build_zipperposition.scala --- a/src/Pure/Admin/build_zipperposition.scala Wed Dec 16 16:56:07 2020 +0100 +++ b/src/Pure/Admin/build_zipperposition.scala Wed Dec 16 23:11:54 2020 +0100 @@ -22,7 +22,7 @@ { Isabelle_System.with_tmp_dir("build")(build_dir => { - Isabelle_System.require_command("patchelf") + if (!Platform.is_windows) Isabelle_System.require_command("patchelf") /* component */ @@ -60,8 +60,10 @@ val exe_path = prg_path.platform_exe File.copy(build_dir + Path.basic("bin") + prg_path, platform_dir + exe_path) - Executable.libraries_closure( - platform_dir + exe_path, filter = Set("libgmp"), patchelf = true) + if (!Platform.is_windows) { + Executable.libraries_closure( + platform_dir + exe_path, filter = Set("libgmp"), patchelf = true) + } /* settings */