diff -urN samba-3.9999.orig//source3/samba4.mk samba-3.9999/source3/samba4.mk --- samba-3.9999.orig//source3/samba4.mk 2010-03-31 11:17:54.541250090 +0200 +++ samba-3.9999/source3/samba4.mk 2010-03-31 11:21:08.567023315 +0200 @@ -124,7 +124,7 @@ comsrcdir := $(samba4srcdir)/lib/com override ASN1C = bin/asn1_compile4 override ET_COMPILER = bin/compile_et4 -#include $(samba4srcdir)/build/make/python.mk +include $(samba4srcdir)/build/make/python.mk include samba4-data.mk include $(samba4srcdir)/static_deps.mk @@ -165,16 +165,12 @@ proto:: $(PROTO_HEADERS) modules:: $(PLUGINS) -#pythonmods:: $(PYTHON_PYS) $(PYTHON_SO) +pythonmods:: $(PYTHON_PYS) $(PYTHON_SO) all:: bin/samba4 bin/regpatch4 bin/regdiff4 bin/regshell4 bin/regtree4 bin/smbclient4 setup plugins torture:: bin/smbtorture4 -# -## This is a fake rule to stop any python being invoked as currently the -## build system is broken in source3 with python. JRA. -# -installpython:: bin/smbtorture4 +installpython:: everything:: $(patsubst %,%4,$(BINARIES)) setup: diff -urN samba-3.9999.orig//source4/build/make/python.mk samba-3.9999/source4/build/make/python.mk --- samba-3.9999.orig//source4/build/make/python.mk 2010-03-31 11:17:54.701321843 +0200 +++ samba-3.9999/source4/build/make/python.mk 2010-03-31 11:24:31.580068928 +0200 @@ -35,7 +35,7 @@ $$(pythonbuilddir)/$(1): $(2) ; @echo Linking $$@ @mkdir -p $$(@D) - @$$(MDLD) $$(LDFLAGS) $$(MDLD_FLAGS) $$(INTERN_LDFLAGS) -o $$@ $$(INSTALL_LINK_FLAGS) $(3) + @$$(MDLD) $$(LDFLAGS) $$(MDLD_FLAGS) $$(INTERN_LDFLAGS) -o $$@ $$(INSTALL_LINK_FLAGS) $(3) $$(EXT_LIB_PYTHON_LIBS) $(call python_module_template,$(1)) endef