Commit 14c31804 authored by Ralf Habacker's avatar Ralf Habacker Committed by Ralf Habacker
Browse files

fixed install root when using msvc ide

parent 7f3e29ff
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment