1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-28 03:33:13 +03:00

r19507: Merge my DSO fixes branch. Building Samba's libraries as shared libraries

works again now, by specifying --enable-dso to configure.
This commit is contained in:
Jelmer Vernooij
2006-10-29 17:40:19 +00:00
committed by Gerald (Jerry) Carter
parent 66bebb2105
commit 7a01235067
34 changed files with 80 additions and 42 deletions

View File

@@ -169,7 +169,10 @@ _PUBLIC_ char *smbd_tmp_path(TALLOC_CTX *mem_ctx, const char *name)
static char *modules_path(TALLOC_CTX* mem_ctx, const char *name)
{
return talloc_asprintf(mem_ctx, "%s/%s", lp_modulesdir(), name);
const char *env_moduledir = getenv("LD_SAMBA_MODULE_PATH");
return talloc_asprintf(mem_ctx, "%s/%s",
env_moduledir?env_moduledir:lp_modulesdir(),
name);
}
/**