[SCM] Samba Shared Repository - branch v4-0-test updated - release-4-0-0alpha3-310-gdabdf24

Jelmer Vernooij jelmer at samba.org
Thu May 8 10:42:21 GMT 2008


The branch, v4-0-test has been updated
       via  dabdf24e86f038e3afc67532fa5bf60a37992161 (commit)
       via  1def988ef28de85b3f97172bdbf935a4fec4dec3 (commit)
       via  787a32fdef9d761d64839f489cca0b0684f9a9fd (commit)
      from  44d8b70004247729862b194ea66444e0cf296660 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test


- Log -----------------------------------------------------------------
commit dabdf24e86f038e3afc67532fa5bf60a37992161
Author: William Jojo <jojowil at hvcc.edu>
Date:   Thu May 8 12:41:57 2008 +0200

    Add undefined symbol flag for AIX.

commit 1def988ef28de85b3f97172bdbf935a4fec4dec3
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Thu May 8 12:40:56 2008 +0200

    Fix typo.

commit 787a32fdef9d761d64839f489cca0b0684f9a9fd
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Thu May 8 11:56:32 2008 +0200

    Fix link flags for ldb and tdb Python modules.

-----------------------------------------------------------------------

Summary of changes:
 source/lib/ldb/ldb.mk               |    2 +-
 source/lib/replace/libreplace_ld.m4 |    4 ++++
 source/lib/tdb/tdb.mk               |    2 +-
 3 files changed, 6 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/lib/ldb/ldb.mk b/source/lib/ldb/ldb.mk
index cc92017..df11e9d 100644
--- a/source/lib/ldb/ldb.mk
+++ b/source/lib/ldb/ldb.mk
@@ -71,7 +71,7 @@ ldb_wrap.o: $(ldbdir)/ldb_wrap.c
 	$(CC) $(PICFLAG) -c $(ldbdir)/ldb_wrap.c $(CFLAGS) `$(PYTHON_CONFIG) --cflags`
 	
 _ldb.$(SHLIBEXT): $(LIBS) ldb_wrap.o
-	$(SHLD) $(SHLD_FLAGS) -o _ldb.$(SHLIBEXT) ldb_wrap.o $(LIB_FLAGS)
+	$(SHLD) $(SHLD_FLAGS) -o _ldb.$(SHLIBEXT) ldb_wrap.o $(LIB_FLAGS) `$(PYTHON_CONFIG) --ldflags`
 
 install-python:: build-python
 	mkdir -p $(DESTDIR)`$(PYTHON) -c "import distutils.sysconfig; print distutils.sysconfig.get_python_lib(0, prefix='$(prefix)')"` \
diff --git a/source/lib/replace/libreplace_ld.m4 b/source/lib/replace/libreplace_ld.m4
index f0d10c1..0d03560 100644
--- a/source/lib/replace/libreplace_ld.m4
+++ b/source/lib/replace/libreplace_ld.m4
@@ -270,6 +270,10 @@ AC_DEFUN([AC_LIBREPLACE_LD_SHLIB_ALLOW_UNDEF_FLAG],
 		*darwin*)
 			LD_SHLIB_ALLOW_UNDEF_FLAG="-undefined dynamic_lookup"
 			;;
+		*aix*)
+			LD_SHLIB_ALLOW_UNDEF_FLAG="--Wl,-bnoentry"
+			;;
+		;
 	esac
 
 	AC_SUBST(LD_SHLIB_ALLOW_UNDEF_FLAG)
diff --git a/source/lib/tdb/tdb.mk b/source/lib/tdb/tdb.mk
index 0e53927..c91b128 100644
--- a/source/lib/tdb/tdb.mk
+++ b/source/lib/tdb/tdb.mk
@@ -39,7 +39,7 @@ tdb_wrap.o: $(tdbdir)/tdb_wrap.c
 	$(CC) $(PICFLAG) -c $(tdbdir)/tdb_wrap.c $(CFLAGS) `$(PYTHON_CONFIG) --cflags`
 
 _tdb.$(SHLIBEXT): libtdb.$(SHLIBEXT) tdb_wrap.o
-	$(SHLD) $(SHLD_FLAGS) -o $@ tdb_wrap.o -L. -ltdb `$(PYTHON_CONFIG) --libs`
+	$(SHLD) $(SHLD_FLAGS) -o $@ tdb_wrap.o -L. -ltdb `$(PYTHON_CONFIG) --ldflags`
 
 install:: installdirs installbin installheaders installlibs \
 		  $(PYTHON_INSTALL_TARGET)


-- 
Samba Shared Repository


More information about the samba-cvs mailing list