From ec80992ef5b54c443e41ebb91e793384907e68ba Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 20 Dec 2008 21:19:48 +0100 Subject: Fix tevent python module build as part of samba 4. --- lib/tevent/config.mk | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'lib/tevent/config.mk') diff --git a/lib/tevent/config.mk b/lib/tevent/config.mk index 5f9508a44f..7654f78ecc 100644 --- a/lib/tevent/config.mk +++ b/lib/tevent/config.mk @@ -47,13 +47,11 @@ PUBLIC_HEADERS += $(addprefix $(libteventsrcdir)/, tevent.h tevent_internal.h) # TODO: Change python stuff to tevent [PYTHON::swig_events] -LIBRARY_REALNAME = samba/_events.$(SHLIBEXT) -PRIVATE_DEPENDENCIES = LIBTEVENT LIBSAMBA-HOSTCONFIG LIBSAMBA-UTIL +LIBRARY_REALNAME = tevent.$(SHLIBEXT) +PRIVATE_DEPENDENCIES = LIBTEVENT PYTALLOC LIBSAMBA-UTIL -swig_events_OBJ_FILES = $(libteventsrcdir)/events_wrap.o +swig_events_OBJ_FILES = $(libteventsrcdir)/pytevent.o -$(eval $(call python_py_module_template,samba/events.py,$(libteventsrcdir)/events.py)) - -$(swig_events_OBJ_FILES): CFLAGS+=$(CFLAG_NO_UNUSED_MACROS) $(CFLAG_NO_CAST_QUAL) +$(swig_events_OBJ_FILES): CFLAGS+=$(CFLAG_NO_CAST_QUAL) PC_FILES += $(libteventsrcdir)/tevent.pc -- cgit