summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-03-17 01:44:14 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:57:34 -0500
commit0188dce887e248208729a52eb6d5d945baf7181e (patch)
tree8066f161630d02b22f44fbb8d144b66a3be66784 /source4
parent2f65012d3d2d6af11af0c2673c733d0cc8e9fb02 (diff)
downloadsamba-0188dce887e248208729a52eb6d5d945baf7181e.tar.gz
samba-0188dce887e248208729a52eb6d5d945baf7181e.tar.bz2
samba-0188dce887e248208729a52eb6d5d945baf7181e.zip
r14501: Re-add nicely working hack to allow running from the builddir
(including modules, codepages and ejs!) without installing. (This used to be commit cdff0a63fe13197b63f022a4d1460a232cec7051)
Diffstat (limited to 'source4')
-rw-r--r--source4/build/smb_build/makefile.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm
index 0df8ed5589..e822329a2e 100644
--- a/source4/build/smb_build/makefile.pm
+++ b/source4/build/smb_build/makefile.pm
@@ -509,6 +509,11 @@ sub write($$)
$self->output("\ninstallplugins: \$(PLUGINS)\n".$self->{install_plugins}."\n");
$self->output("\nuninstallplugins:\n".$self->{uninstall_plugins}."\n");
+ # nasty hack to allow running locally
+ if ($self->{duplicate_build}) {
+ $self->output("bin/libdynconfig.\$(SHLIBEXT): LIBRARY_DYNCONFIG_OBJ_LIST=dynconfig-devel.o\n");
+ }
+
$self->_prepare_mk_files();
if ($self->{developer}) {