summaryrefslogtreecommitdiff
path: root/source4/lib
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 /source4/lib
parente76e5dafc7c4a9dbe7027a9828aeab26a79a3272 (diff)
downloadsamba-575678557b11d2ac344eaee6319b975d010de157.tar.gz
samba-575678557b11d2ac344eaee6319b975d010de157.tar.bz2
samba-575678557b11d2ac344eaee6319b975d010de157.zip
r25884: Specify shldflags first, as required by some compilers.
(This used to be commit 40a8cd0d2fd4d10110243ee75ff92bef73bb06b9)
Diffstat (limited to 'source4/lib')
-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 c9fcddf35c..3da96cd457 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 298988de8e..7b48e17d2c 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