summaryrefslogtreecommitdiffstats
path: root/xrdp/xrdp_mm.c
diff options
context:
space:
mode:
authorPavel Roskin <plroskin@gmail.com>2016-02-10 10:24:09 -0800
committerPavel Roskin <plroskin@gmail.com>2016-02-12 23:52:46 -0800
commitdcab7552db2af346724c5090e529950b32a7076d (patch)
tree64c7b237ed4a44e945d48b366df4d7bbe337ac40 /xrdp/xrdp_mm.c
parentffc4efb9ce09ccc370571793607b19193d8cb15b (diff)
downloadxrdp-proprietary-dcab7552db2af346724c5090e529950b32a7076d.tar.gz
xrdp-proprietary-dcab7552db2af346724c5090e529950b32a7076d.zip
Stop redefining libdir, use moduledir for ${libdir}/xrdp
libdir is for shared and static libraries. Some xrdp libraries are loaded dynamically from a non-standard directory, so they are used like modules. Having separate libdir and moduledir would eventually allow to separate dynamically loaded modules from shared libraries.
Diffstat (limited to 'xrdp/xrdp_mm.c')
-rw-r--r--xrdp/xrdp_mm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xrdp/xrdp_mm.c b/xrdp/xrdp_mm.c
index 088b6676..64ebdaf4 100644
--- a/xrdp/xrdp_mm.c
+++ b/xrdp/xrdp_mm.c
@@ -357,7 +357,7 @@ xrdp_mm_setup_mod1(struct xrdp_mm *self)
if (self->mod_handle == 0)
{
- g_snprintf(text, 255, "%s/%s", XRDP_LIB_PATH, lib);
+ g_snprintf(text, 255, "%s/%s", XRDP_MODULE_PATH, lib);
/* Let the main thread load the lib,*/
self->mod_handle = g_xrdp_sync(xrdp_mm_sync_load, (tintptr)text, 0);