summaryrefslogtreecommitdiff
path: root/examples/pdb/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pdb/Makefile')
-rw-r--r--examples/pdb/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/pdb/Makefile b/examples/pdb/Makefile
index a53cd5d5e2..5c0eb6fc80 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