diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-12-22 23:39:30 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-12-22 23:39:30 +0100 |
commit | 6704c27a780774b24bbf5170a29d634f72b1651c (patch) | |
tree | 9d1b435f4cd661981f226d56aae9296df2ccc6c3 | |
parent | c2872a6ba5a7012028f1b9167c61d5907b8f7d3d (diff) | |
download | samba-6704c27a780774b24bbf5170a29d634f72b1651c.tar.gz samba-6704c27a780774b24bbf5170a29d634f72b1651c.tar.bz2 samba-6704c27a780774b24bbf5170a29d634f72b1651c.zip |
Fix standalone build of tdb python module, update ignores for standalone tdb.
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | lib/tdb/tdb.mk | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore index 1dca1faf21..773165afb5 100644 --- a/.gitignore +++ b/.gitignore @@ -351,3 +351,8 @@ lib/tevent/Makefile lib/tevent/tevent.so lib/tevent/libtevent.so* lib/tevent/libtevent.a +lib/tdb/libtdb.so +lib/tdb/tdb.so +lib/tdb/libtdb.a +lib/tdb/Makefile +lib/tdb/bin diff --git a/lib/tdb/tdb.mk b/lib/tdb/tdb.mk index 0254575039..72f44e7211 100644 --- a/lib/tdb/tdb.mk +++ b/lib/tdb/tdb.mk @@ -35,11 +35,11 @@ clean:: build-python:: tdb.$(SHLIBEXT) -tdb_wrap.o: $(tdbdir)/tdb_wrap.c - $(CC) $(PICFLAG) -c $(tdbdir)/tdb_wrap.c $(CFLAGS) `$(PYTHON_CONFIG) --cflags` +pytdb.o: $(tdbdir)/pytdb.c + $(CC) $(PICFLAG) -c $(tdbdir)/pytdb.c $(CFLAGS) `$(PYTHON_CONFIG) --cflags` -tdb.$(SHLIBEXT): libtdb.$(SHLIBEXT) tdb_wrap.o - $(SHLD) $(SHLD_FLAGS) -o $@ tdb_wrap.o -L. -ltdb `$(PYTHON_CONFIG) --ldflags` +tdb.$(SHLIBEXT): libtdb.$(SHLIBEXT) pytdb.o + $(SHLD) $(SHLD_FLAGS) -o $@ pytdb.o -L. -ltdb `$(PYTHON_CONFIG) --ldflags` install:: installdirs installbin installheaders installlibs \ $(PYTHON_INSTALL_TARGET) |