Skip to content
Snippets Groups Projects
Commit af985c7e authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

re-fix ITS#4936

parent 25a7729a
No related branches found
No related tags found
No related merge requests found
......@@ -50,6 +50,8 @@ ldap_config.h: $(LDAP_CONFIG) Makefile
$(SED) -e 's/\\\\/\\\\\\\\\\\\\\\\/g'`; \
libexecdir=`cygpath -w $(libexecdir) | \
$(SED) -e 's/\\\\/\\\\\\\\\\\\\\\\/g'`; \
moduledir=`cygpath -w $(moduledir) | \
$(SED) -e 's/\\\\/\\\\\\\\\\\\\\\\/g'`; \
localstatedir=`cygpath -w $(localstatedir) | \
$(SED) -e 's/\\\\/\\\\\\\\\\\\\\\\/g'`; \
else \
......@@ -58,6 +60,7 @@ ldap_config.h: $(LDAP_CONFIG) Makefile
bindir=$(bindir); \
sbindir=$(sbindir); \
libexecdir=$(libexecdir); \
moduledir=$(moduledir); \
localstatedir=$(localstatedir); \
localedir=$(localedir); \
fi; \
......@@ -67,6 +70,7 @@ ldap_config.h: $(LDAP_CONFIG) Makefile
-e "s;%BINDIR%;$$bindir;" \
-e "s;%SBINDIR%;$$sbindir;" \
-e "s;%LIBEXECDIR%;$$libexecdir;" \
-e "s;%MODULEDIR%;$$moduledir;" \
-e "s;%RUNDIR%;$$localstatedir;" \
-e "s;%LOCALEDIR%;$$localedir;" \
$(LDAP_CONFIG) >> $@; \
......
......@@ -59,6 +59,9 @@
#ifndef LDAP_LIBEXECDIR
#define LDAP_LIBEXECDIR "%LIBEXECDIR%"
#endif
#ifndef LDAP_MODULEDIR
#define LDAP_MODULEDIR "%MODULEDIR%"
#endif
#ifndef LDAP_RUNDIR
#define LDAP_RUNDIR "%RUNDIR%"
#endif
......
......@@ -69,7 +69,7 @@ int module_init (void)
return -1;
}
return module_path( LDAP_LIBEXECDIR );
return module_path( LDAP_MODULEDIR );
}
int module_kill (void)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment