summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-11-06 19:53:33 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:44:40 +0100
commit575678557b11d2ac344eaee6319b975d010de157 (patch)
treebbf92bafb907930b85112530c70dca1e456a4a1d
parente76e5dafc7c4a9dbe7027a9828aeab26a79a3272 (diff)
downloadsamba-575678557b11d2ac344eaee6319b975d010de157.tar.gz
samba-575678557b11d2ac344eaee6319b975d010de157.tar.xz
samba-575678557b11d2ac344eaee6319b975d010de157.zip
r25884: Specify shldflags first, as required by some compilers.
(This used to be commit 40a8cd0d2fd4d10110243ee75ff92bef73bb06b9)
-rw-r--r--source4/lib/talloc/Makefile.in2
-rw-r--r--source4/lib/tdb/Makefile.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/talloc/Makefile.in b/source4/lib/talloc/Makefile.in
index c9fcddf35cd..3da96cd457a 100644
--- a/source4/lib/talloc/Makefile.in
+++ b/source4/lib/talloc/Makefile.in
@@ -45,7 +45,7 @@ libtalloc.a: $(LIBOBJ)
@-ranlib $@
$(SOLIB): $(LIBOBJ)
- $(CC) $(SONAMEFLAG)$(SONAME) $(SHLD_FLAGS) -o $@ $^
+ $(CC) $(SHLD_FLAGS) $(SONAMEFLAG)$(SONAME) -o $@ $^
install: all
${INSTALLCMD} -d $(DESTDIR)$(libdir)
diff --git a/source4/lib/tdb/Makefile.in b/source4/lib/tdb/Makefile.in
index 298988de8eb..7b48e17d2c7 100644
--- a/source4/lib/tdb/Makefile.in
+++ b/source4/lib/tdb/Makefile.in
@@ -74,7 +74,7 @@ $(SONAME): $(SOLIB)
ln -s $< $@
$(SOLIB): $(TDB_OBJ)
- $(CC) $(SONAMEFLAG)$(SONAME) $(SHLD_FLAGS) -o $@ $^
+ $(CC) $(SHLD_FLAGS) $(SONAMEFLAG)$(SONAME) -o $@ $^
bin/tdbtest$(EXEEXT): tools/tdbtest.o $(SOLIB)
$(CC) $(CFLAGS) $(LDFLAGS) -o bin/tdbtest tools/tdbtest.o -L. -ltdb -lgdbm