diff options
author | Tor Lillqvist <tml@novell.com> | 2005-08-10 06:53:23 +0800 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2005-08-10 06:53:23 +0800 |
commit | d2d726ba6eef71e869ad7dec3d0918fea04809db (patch) | |
tree | 51f4f37213ad926031167a45f148ec0fd6a1865e /e-util/e-win32-reloc.c | |
parent | 660d7f8ba193b8ca8a65a66986e8a62f0cbda9e1 (diff) | |
download | gsoc2013-evolution-d2d726ba6eef71e869ad7dec3d0918fea04809db.tar.gz gsoc2013-evolution-d2d726ba6eef71e869ad7dec3d0918fea04809db.tar.zst gsoc2013-evolution-d2d726ba6eef71e869ad7dec3d0918fea04809db.zip |
Use privsolib instead of privlib. On Unix they are the same, on Win32
2005-08-10 Tor Lillqvist <tml@novell.com>
* Makefile.am: Use privsolib instead of privlib. On Unix they are
the same, on Win32 privsolibdir is the same as libdir.
(INCLUDES): Pass also EVOLUTION_LIBEXECDIR and EVOLUTION_SOUNDDIR
so that the Win32 run-time path lookup code in e-win32-reloc.c can
handle them, too.
* e-win32-reloc.c: Handle also the above two paths.
svn path=/trunk/; revision=30061
Diffstat (limited to 'e-util/e-win32-reloc.c')
-rw-r--r-- | e-util/e-win32-reloc.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/e-util/e-win32-reloc.c b/e-util/e-win32-reloc.c index 3cb394eb77..e1afa21758 100644 --- a/e-util/e-win32-reloc.c +++ b/e-util/e-win32-reloc.c @@ -45,6 +45,8 @@ static const char *plugindir; static const char *privdatadir; static const char *search_rule_dir; static const char *galviewsdir; +static const char *libexecdir; +static const char *sounddir; static HMODULE hmodule; G_LOCK_DEFINE_STATIC (mutex); @@ -94,9 +96,11 @@ setup (void) return; } + /* This requires that the libeutil DLL is installed in $bindir */ gnome_win32_get_prefixes (hmodule, &full_prefix, &cp_prefix); localedir = replace_prefix (cp_prefix, EVOLUTION_LOCALEDIR); + g_free (cp_prefix); gladedir = replace_prefix (full_prefix, EVOLUTION_GLADEDIR); @@ -108,6 +112,9 @@ setup (void) privdatadir = replace_prefix (full_prefix, EVOLUTION_PRIVDATADIR); search_rule_dir = replace_prefix (full_prefix, SEARCH_RULE_DIR); galviewsdir = replace_prefix (full_prefix, EVOLUTION_GALVIEWSDIR); + libexecdir = replace_prefix (full_prefix, EVOLUTION_LIBEXECDIR); + sounddir = replace_prefix (full_prefix, EVOLUTION_SOUNDDIR); + g_free (full_prefix); G_UNLOCK (mutex); @@ -134,3 +141,5 @@ GETTER(plugindir) GETTER(privdatadir) GETTER(search_rule_dir) GETTER(galviewsdir) +GETTER(libexecdir) +GETTER(sounddir) |