From 6072ab0d57487fcb9b00706b37898be003ff211b Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 20 Apr 2010 20:23:04 +1000 Subject: s4-dynconfig: added dyn_PYTHONDIR --- source4/dynconfig/dynconfig.c | 4 ++++ source4/dynconfig/dynconfig.h | 1 + source4/dynconfig/wscript | 1 + 3 files changed, 6 insertions(+) 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 -- cgit