pkgconf / pkgconf

package compiler and linker metadata toolkit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Path normalization with drive letter, on Windows

bruchar1 opened this issue · comments

λ 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

I don't use Windows, and I will apply whatever Windows-specific patches there is consensus on. Different people want different behavior.