Skip to content

package(autoconf): Resolve issue with backslash-separated CXX path in MSYS#6307

Merged
waruqi merged 1 commit intoxmake-io:devfrom
Doekin:autoconf-cxx-win
Apr 10, 2025
Merged

package(autoconf): Resolve issue with backslash-separated CXX path in MSYS#6307
waruqi merged 1 commit intoxmake-io:devfrom
Doekin:autoconf-cxx-win

Conversation

@Doekin
Copy link
Contributor

@Doekin Doekin commented Apr 10, 2025

While cross-compiling icu4c for Android using Git Bash, I encountered an error:

/usr/bin/sh: line 1: D:ApplicationsScooppersistandroid-cltndk22.1.7171670toolchainsllvmprebuiltwindows-x86_64binclang++: command not found

This suggests that the CXX path might be misinterpreted. The dumped environment variables confirmed the issue:

{
 CXX = "D:\Applications\Scoop\persist\android-clt\ndk\22.1.7171670\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++",
 CC = "D:/Applications/Scoop/persist/android-clt/ndk/22.1.7171670/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe"
}

This PR aims to fix this path interpretation issue.

@waruqi waruqi added this to the v3.0.0 milestone Apr 10, 2025
@waruqi waruqi merged commit fd49b77 into xmake-io:dev Apr 10, 2025
22 checks passed
@Doekin Doekin deleted the autoconf-cxx-win branch May 16, 2025 04:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants