12 lines
638 B
Diff
12 lines
638 B
Diff
|
--- libcap-1.10/libcap/Makefile.jj Sat Apr 17 18:16:31 1999
|
||
|
+++ libcap-1.10/libcap/Makefile Tue Jul 10 01:47:29 2001
|
||
|
@@ -56,7 +56,7 @@ cap_names.sed: Makefile /usr/include/lin
|
||
|
# @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
|
||
|
|
||
|
$(MINLIBNAME): $(OBJS)
|
||
|
- $(LD) -soname $(MAJLIBNAME) -x -shared -o $@ $(OBJS)
|
||
|
+ $(CC) -Wl,-soname,$(MAJLIBNAME) -Wl,-x -shared -o $@ $(OBJS)
|
||
|
ln -sf $(MINLIBNAME) $(MAJLIBNAME)
|
||
|
ln -sf $(MAJLIBNAME) $(LIBNAME)
|
||
|
|