Skip to content

Commit c5cdfa1

Browse files
authored
fix: handle TARGET_NAME on Windows (#89)
1 parent 7083778 commit c5cdfa1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adbc_drivers_dev/make.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ def build_rust(
418418
if target_name := get_var("TARGET_NAME", ""):
419419
source_target = f"lib{target_name}.{EXT}"
420420
if platform.system() == "Windows":
421-
source_target = target.removeprefix("lib")
421+
source_target = source_target.removeprefix("lib")
422422
lib = lib / source_target
423423
info("Copying", lib, "to", repo_root / "build" / target)
424424

0 commit comments

Comments
 (0)