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:
committed by
Gerald (Jerry) Carter
parent
66bebb2105
commit
7a01235067
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user