summaryrefslogtreecommitdiffstats
path: root/examples/pdb
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-09-23 18:11:08 +0000
committerGerald Carter <jerry@samba.org>2004-09-23 18:11:08 +0000
commitd66ace2f971e82e098494779af89d6add1c766b4 (patch)
tree9e13a5d2b125b4884eb5481f6eda9082d03257a5 /examples/pdb
parentfc42c28ce545ee50b82cbb655ed2c962c328a062 (diff)
downloadsamba-d66ace2f971e82e098494779af89d6add1c766b4.tar.gz
samba-d66ace2f971e82e098494779af89d6add1c766b4.tar.xz
samba-d66ace2f971e82e098494779af89d6add1c766b4.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.
Diffstat (limited to 'examples/pdb')
-rw-r--r--examples/pdb/Makefile4
1 files changed, 2 insertions, 2 deletions
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