summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/dynconfig/dynconfig.c4
-rw-r--r--source4/dynconfig/dynconfig.h1
-rw-r--r--source4/dynconfig/wscript1
3 files changed, 6 insertions, 0 deletions
diff --git a/source4/dynconfig/dynconfig.c b/source4/dynconfig/dynconfig.c
index 3edf2bbf09..d515bf7a2d 100644
--- a/source4/dynconfig/dynconfig.c
+++ b/source4/dynconfig/dynconfig.c
@@ -90,3 +90,7 @@ _PUBLIC_ const char *dyn_WINBINDD_PRIVILEGED_SOCKET_DIR = WINBINDD_PRIVILEGED_SO
/** Where to find the NTP signing daemon socket */
_PUBLIC_ const char *dyn_NTP_SIGND_SOCKET_DIR = NTP_SIGND_SOCKET_DIR;
+
+/** Where to find python modules */
+_PUBLIC_ const char *dyn_PYTHONDIR = PYTHONDIR;
+
diff --git a/source4/dynconfig/dynconfig.h b/source4/dynconfig/dynconfig.h
index c8d2766f4c..48f8ab628f 100644
--- a/source4/dynconfig/dynconfig.h
+++ b/source4/dynconfig/dynconfig.h
@@ -41,3 +41,4 @@ extern const char *dyn_SETUPDIR;
extern const char *dyn_WINBINDD_SOCKET_DIR;
extern const char *dyn_WINBINDD_PRIVILEGED_SOCKET_DIR;
extern const char *dyn_NTP_SIGND_SOCKET_DIR;
+extern const char *dyn_PYTHONDIR;
diff --git a/source4/dynconfig/wscript b/source4/dynconfig/wscript
index cd80647954..e87ada12a2 100644
--- a/source4/dynconfig/wscript
+++ b/source4/dynconfig/wscript
@@ -34,6 +34,7 @@ dyn_cflags = {
'WINBINDD_SOCKET_DIR' : '${WINBINDD_SOCKET_DIR}',
'NTP_SIGND_SOCKET_DIR' : '${NTP_SIGND_SOCKET_DIR}',
'PKGCONFIGDIR' : '${LIBDIR}/pkgconfig',
+ 'PYTHONDIR' : '${PYTHONDIR}',
}
# changes for when FHS is enabled