On Wed, 2009-09-02 at 08:12 +0100, Chen, Congwu wrote:
> >I can't think of any means of making that distinction either. We could
> >simply scan both the install dir *and* in addition src/backends/*/.libs,
> >all the time. The latter should take precedence.
> This has bad limitations: If the user happened to run syncevolution in a 
> directory with
> the same hierarchy,

We should use the directory where the binary is located (argv[0] works
well enough for that), instead of the current working directory. The
directory of the binary is a bit hard to find, though, and it will be
the .libs directory inside the "src" dir when compiling with
--enable-shared.


-- 
Best Regards, Patrick Ohly

The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.


_______________________________________________
SyncEvolution mailing list
[email protected]
http://lists.syncevolution.org/listinfo/syncevolution

Reply via email to