summaryrefslogtreecommitdiff
path: root/package/libcap/patches/patch-libcap_Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-27 17:08:45 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-27 17:16:43 +0200
commit61a577c7c6dc18ad3160647073ef13ef52398351 (patch)
tree6a0b26340941280a867fda89a2f4dbb8d64cdff2 /package/libcap/patches/patch-libcap_Makefile
parent8b955c16c44ac9644dfeb2de55d39e5a58609cc9 (diff)
libcap: fix target build
Diffstat (limited to 'package/libcap/patches/patch-libcap_Makefile')
-rw-r--r--package/libcap/patches/patch-libcap_Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/package/libcap/patches/patch-libcap_Makefile b/package/libcap/patches/patch-libcap_Makefile
index 5b1823e64..bbe31f53b 100644
--- a/package/libcap/patches/patch-libcap_Makefile
+++ b/package/libcap/patches/patch-libcap_Makefile
@@ -1,8 +1,11 @@
--- libcap-2.25.orig/libcap/Makefile 2016-01-31 01:01:41.000000000 +0100
-+++ libcap-2.25/libcap/Makefile 2016-09-23 10:34:12.564023450 +0200
-@@ -65,7 +65,6 @@ cap_text.o: cap_text.c $(USE_GPERF_OUTPU
++++ libcap-2.25/libcap/Makefile 2016-09-23 15:09:26.623578683 +0200
+@@ -63,9 +63,8 @@ cap_text.o: cap_text.c $(USE_GPERF_OUTPU
+ $(CC) $(CFLAGS) $(IPATH) $(INCLUDE_GPERF_OUTPUT) -c $< -o $@
+
install: all
- mkdir -p -m 0755 $(FAKEROOT)$(INCDIR)/sys
+- mkdir -p -m 0755 $(FAKEROOT)$(INCDIR)/sys
++ mkdir -p -m 0755 $(FAKEROOT)$(INCDIR)/sys $(FAKEROOT)$(LIBDIR)
install -m 0644 include/sys/capability.h $(FAKEROOT)$(INCDIR)/sys
- mkdir -p -m 0755 $(FAKEROOT)$(LIBDIR)
install -m 0644 $(STALIBNAME) $(FAKEROOT)$(LIBDIR)/$(STALIBNAME)