From 80d591f8cc62d513eb99112e6533b93ee901d27d Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Thu, 23 Sep 2004 18:11:08 +0000 Subject: r2567: Patches from Lars Mueller : 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. --- examples/auth/Makefile | 4 ++-- examples/pdb/Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'examples') diff --git a/examples/auth/Makefile b/examples/auth/Makefile index dac28fdd40a..21d18de0758 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 diff --git a/examples/pdb/Makefile b/examples/pdb/Makefile index a53cd5d5e2d..5c0eb6fc808 100644 --- a/examples/pdb/Makefile +++ b/examples/pdb/Makefile @@ -18,10 +18,10 @@ default: $(PDB_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 -- cgit