Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion pycross/private/tools/wheel_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,8 @@ def get_default_build_env_vars(path_dirs: List[Path]) -> Dict[str, str]:
def replace_path_placeholders(
data: Dict[str, Union[str, List[str]]], placeholder: str, replacement: Path
) -> Dict[str, Any]:
replacement_str = str(replacement)
# Use absolute path for replacements so compiler/linker paths work from temp build dirs
replacement_str = str(replacement.resolve())
if replacement_str.endswith("/"):
replacement_str = replacement_str[:-1]
result = {}
Expand Down
Loading