1 --- libcap-1.92/libcap/Makefile.orig Fri Apr 23 08:15:10 1999
2 +++ libcap-1.92/libcap/Makefile Tue Oct 22 23:33:28 2002
4 # @sed -ne '/^#define[ \t]CAP[_A-Z]\+[ \t]\+[0-9]\+/{s/^#define CAP_\([^ \t]*\)[ \t]*\([^ \t]*\)/ \{ \2, \"\1\" \},/;y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/;p;}' < /usr/include/linux/capability.h | fgrep -v 0x > cap_names.sed
7 - $(LD) -soname $(MAJLIBNAME) -x -shared -o $@ $(OBJS)
8 + $(CC) -Wl,-soname -Wl,$(MAJLIBNAME) -Wl,-x -shared -o $@ $(OBJS)
9 ln -sf $(MINLIBNAME) $(MAJLIBNAME)
10 ln -sf $(MAJLIBNAME) $(LIBNAME)