libcap/libcap-dynamic-link.diff

12 lines
321 B
Diff

--- progs/Makefile-dist 2008-04-23 15:28:10.000000000 +0200
+++ progs/Makefile 2008-04-23 15:28:24.000000000 +0200
@@ -9,7 +9,7 @@
all: $(PROGS)
$(PROGS): %: %.o
- $(CC) --static $(COPTFLAG) $(LDFLAGS) -o $@ $< $(LIBS)
+ $(CC) $(COPTFLAG) $(LDFLAGS) -o $@ $< $(LIBS)
%.o: %.c $(INCS)
$(CC) $(CFLAGS) -c $< -o $@