libcap/libcap-2.06-shared.patch
2008-02-21 16:23:13 +00:00

14 lines
510 B
Diff

diff -up libcap-2.06/progs/Makefile.shared libcap-2.06/progs/Makefile
--- libcap-2.06/progs/Makefile.shared 2008-02-21 17:17:09.000000000 +0100
+++ libcap-2.06/progs/Makefile 2008-02-21 17:17:28.000000000 +0100
@@ -9,7 +9,8 @@ PROGS=getpcaps getcap setcap capsh
all: $(PROGS)
$(PROGS): %: %.o
- $(CC) --static $(COPTFLAG) $(LDFLAGS) -o $@ $< $(LIBS)
+ #$(CC) --static $(COPTFLAG) $(LDFLAGS) -o $@ $< $(LIBS)
+ $(CC) $(COPTFLAG) $(LDFLAGS) -o $@ $< $(LIBS)
%.o: %.c $(INCS)
$(CC) $(CFLAGS) -c $< -o $@