summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-04-20 20:23:04 +1000
committerAndrew Tridgell <tridge@samba.org>2010-04-20 20:59:24 +1000
commit6072ab0d57487fcb9b00706b37898be003ff211b (patch)
treec6a526c135b7d96aa5058067b0b99f320cd11383
parent58549ab44a478dc0f896244579589e11aad8296c (diff)
downloadsamba-6072ab0d57487fcb9b00706b37898be003ff211b.tar.gz
samba-6072ab0d57487fcb9b00706b37898be003ff211b.tar.bz2
samba-6072ab0d57487fcb9b00706b37898be003ff211b.zip
s4-dynconfig: added dyn_PYTHONDIR
-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