summaryrefslogtreecommitdiff
path: root/examples/auth
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-09-23 18:11:08 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:52:46 -0500
commitde72d898778635af20a1f6a394fe6c837e2ed149 (patch)
treeba6f7dc7163261fd09f6bcf764db1cafc65acb85 /examples/auth
parent5fe0142ec8084746b5805e278ee0effe620da5e6 (diff)
downloadsamba-de72d898778635af20a1f6a394fe6c837e2ed149.tar.gz
samba-de72d898778635af20a1f6a394fe6c837e2ed149.tar.bz2
samba-de72d898778635af20a1f6a394fe6c837e2ed149.zip
r2567: Patches from Lars Mueller <lmuelle at suse dot de>:
trivial fix for autoconf and autoheader versions with a letter in the version string. This happens in our current beta named distribution tree. trivial patch to fix the build with the upcoming libtool version. It will be mandatory to use --mode while using libtool. (This used to be commit 80d591f8cc62d513eb99112e6533b93ee901d27d)
Diffstat (limited to 'examples/auth')
-rw-r--r--examples/auth/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/auth/Makefile b/examples/auth/Makefile
index dac28fdd40..21d18de075 100644
--- a/examples/auth/Makefile
+++ b/examples/auth/Makefile
@@ -18,10 +18,10 @@ default: $(AUTH_OBJS)
# Pattern rules
%.so: %.lo
- $(LIBTOOL) $(CC) -shared -o $@ $< $(LDFLAGS)
+ $(LIBTOOL) --mode=link $(CC) -shared -o $@ $< $(LDFLAGS)
%.lo: %.c
- $(LIBTOOL) $(CC) $(CPPFLAGS) $(CFLAGS) -c $<
+ $(LIBTOOL) --mode=compile $(CC) $(CPPFLAGS) $(CFLAGS) -c $<
# Misc targets