Search
j0ke.net Open Build Service
>
Projects
>
server:database
:
mysql
>
mysql-proxy
> mysql-proxy-0.8.1-default-plugindir-arch.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File mysql-proxy-0.8.1-default-plugindir-arch.patch of Package mysql-proxy (Revision 13)
Currently displaying revision
13
,
show latest
--- src/chassis-frontend.c.orig 2011-07-14 10:55:39.022110431 +0200 +++ src/chassis-frontend.c 2011-07-14 11:06:05.914648376 +0200 @@ -320,8 +320,12 @@ #ifdef WIN32 plugin_dir = g_build_filename(base_dir, "bin", NULL); #else +#if defined(__64BIT__) + plugin_dir = g_build_filename(base_dir, "lib64", PACKAGE, "plugins", NULL); +#else plugin_dir = g_build_filename(base_dir, "lib", PACKAGE, "plugins", NULL); #endif +#endif *_plugin_dir = plugin_dir; @@ -337,8 +341,12 @@ #ifdef WIN32 #define G_MODULE_PREFIX "plugin-" /* we build the plugins with a prefix on win32 to avoid name-clashing in bin/ */ #else +#if defined(__64BIT__) +#define G_MODULE_PREFIX "lib64" +#else #define G_MODULE_PREFIX "lib" #endif +#endif /* we have to hack around some glib distributions that * don't set the correct G_MODULE_SUFFIX, notably MacPorts */