Path normalization with drive letter, on Windows
bruchar1 opened this issue · comments
Charles Brunet commented
λ set PKG_CONFIG_SYSROOT_DIR=/env/pkgconf/tests
λ build\pkgconf.exe --with-path=/env/pkgconf/tests/lib1 --variable pkgdatadir explicit-sysroot
/env/pkgconf/tests/usr/share/test
but if paths contains drive letter:
λ set PKG_CONFIG_SYSROOT_DIR=C:/env/pkgconf/tests
λ build\pkgconf.exe --with-path=C:/env/pkgconf/tests/lib1 --variable pkgdatadir explicit-sysroot
C:/env/pkgconf/tests/C:/env/pkgconf/tests/usr/share/test
Ariadne Conill commented
I don't use Windows, and I will apply whatever Windows-specific patches there is consensus on. Different people want different behavior.