mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-02-06 23:20:31 +01:00
fixed install root when using msvc ide
This commit is contained in:
parent
7f3e29ffdf
commit
14c31804ad
1 changed files with 2 additions and 0 deletions
|
|
@ -3208,6 +3208,8 @@ _dbus_get_install_root(char *prefix, int len)
|
|||
//the Latin "bin", but that is not likely I think...
|
||||
if (lastSlash - prefix > 3 && strncmp(lastSlash - 4, "\\bin", 4) == 0)
|
||||
lastSlash[-3] = 0;
|
||||
else if (lastSlash - prefix > 3 && (strncmp(lastSlash - 10, "\\bin\\Debug", 10) == 0 || strncmp(lastSlash - 10, "\\bin\\Release", 10) == 0))
|
||||
lastSlash[-9] = 0;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue