projects
/
platform
/
upstream
/
dbus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f3e29f
)
fixed install root when using msvc ide
author
unknown
<Habacker@.(none)>
Tue, 22 Dec 2009 09:07:37 +0000
(10:07 +0100)
committer
unknown
<Habacker@.(none)>
Tue, 22 Dec 2009 09:07:37 +0000
(10:07 +0100)
dbus/dbus-sysdeps-win.c
patch
|
blob
|
history
diff --git
a/dbus/dbus-sysdeps-win.c
b/dbus/dbus-sysdeps-win.c
index 2a8100ab055c7f4298cf5ff3f5a886814e7687b8..c323820b83b7099004675269bee1f2eca1f1a0b5 100644
(file)
--- a/
dbus/dbus-sysdeps-win.c
+++ b/
dbus/dbus-sysdeps-win.c
@@
-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;
}