summaryrefslogtreecommitdiff
path: root/examples/auth/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'examples/auth/Makefile')
-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