Monotone-Parent: 6d01c80e5eec109ea98411f9b345712653571eee

Monotone-Revision: 56f1fa4190879117f1a79ceb54d70f4fa769ce40

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-10-18T19:47:19
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2011-10-18 19:47:19 +00:00
parent bb08315a0b
commit e853d51f06
2 changed files with 3 additions and 3 deletions

View File

@ -129,7 +129,7 @@ TEST_TOOL_NAME += $(PLREADER_TOOL)
### cflags and libs
LIBMAPI_CFLAGS = $(shell pkg-config libmapi --cflags)
LIBMAPISTORE_CFLAGS = $(shell pkg-config libmapistore --cflags)
LIBMAPISTORE_CFLAGS = $(shell pkg-config libmapistore --cflags) -DSAMBA_PREFIX="\"$(shell pkg-config libmapistore --variable=prefix)\""
ifeq ($(LIBMAPISTORE_CFLAGS),)
all install::

View File

@ -70,7 +70,7 @@ sogo_backend_init (void)
Class MAPIApplicationK;
NSUserDefaults *ud;
SoProductRegistry *registry;
char *argv0 = "openchange";
char *argv[] = { SAMBA_PREFIX "/sbin/samba", NULL };
pool = [NSAutoreleasePool new];
@ -79,7 +79,7 @@ sogo_backend_init (void)
the encoding specified in the file. */
putenv ("GNUSTEP_STRING_ENCODING=NSUTF8StringEncoding");
[NSProcessInfo initializeWithArguments: &argv0
[NSProcessInfo initializeWithArguments: argv
count: 1
environment: environ];