Commit 5ff1004c authored by Alexandre Julliard's avatar Alexandre Julliard

libwine: Export wine_get_build_dir.

parent bf566139
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
/* configuration */ /* configuration */
extern const char *wine_get_build_dir(void);
extern const char *wine_get_config_dir(void); extern const char *wine_get_config_dir(void);
extern const char *wine_get_data_dir(void); extern const char *wine_get_data_dir(void);
extern const char *wine_get_server_dir(void); extern const char *wine_get_server_dir(void);
......
...@@ -356,6 +356,12 @@ const char *wine_get_data_dir(void) ...@@ -356,6 +356,12 @@ const char *wine_get_data_dir(void)
return datadir; return datadir;
} }
/* retrieve the wine build dir (if we are running from there) */
const char *wine_get_build_dir(void)
{
return build_dir;
}
/* return the full name of the server directory (the one containing the socket) */ /* return the full name of the server directory (the one containing the socket) */
const char *wine_get_server_dir(void) const char *wine_get_server_dir(void)
{ {
......
...@@ -25,6 +25,7 @@ EXPORTS ...@@ -25,6 +25,7 @@ EXPORTS
wine_dlopen wine_dlopen
wine_dlsym wine_dlsym
wine_exec_wine_binary wine_exec_wine_binary
wine_get_build_dir
wine_get_config_dir wine_get_config_dir
wine_get_cs wine_get_cs
wine_get_data_dir wine_get_data_dir
......
...@@ -25,6 +25,7 @@ WINE_1.0 ...@@ -25,6 +25,7 @@ WINE_1.0
wine_dlopen; wine_dlopen;
wine_dlsym; wine_dlsym;
wine_exec_wine_binary; wine_exec_wine_binary;
wine_get_build_dir;
wine_get_config_dir; wine_get_config_dir;
wine_get_cs; wine_get_cs;
wine_get_data_dir; wine_get_data_dir;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment