]> git.pld-linux.org Git - packages/libcap.git/blob - libcap-link.patch
- -fPIC only on alpha
[packages/libcap.git] / libcap-link.patch
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
3 @@ -34,7 +34,7 @@
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
5  
6  $(MINLIBNAME): $(OBJS)
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)
11  
This page took 0.122571 seconds and 3 git commands to generate.