diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2014-11-02 09:50:40 -0300 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-11-02 21:46:41 +0100 |
commit | 3fbe7b67e71ded1b6dfba600bba87bcca5491f8b (patch) | |
tree | f095304c5620f9ed9c87c7676a871b097e513e58 /package/libcap/0002-split-static-shared-install.patch | |
parent | a0b5052e9dec110903e1887e17bca314df228bb4 (diff) | |
download | buildroot-3fbe7b67e71ded1b6dfba600bba87bcca5491f8b.tar.gz buildroot-3fbe7b67e71ded1b6dfba600bba87bcca5491f8b.zip |
libcap: add upstream xattr patch
Add upstream patch for xattr include fix.
Also rename patches to git naming convention.
Fixes:
http://autobuild.buildroot.net/results/2ef/2efb25356bc87ba0e1be08214eaa28ac064ad6c3/
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/libcap/0002-split-static-shared-install.patch')
-rw-r--r-- | package/libcap/0002-split-static-shared-install.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/package/libcap/0002-split-static-shared-install.patch b/package/libcap/0002-split-static-shared-install.patch new file mode 100644 index 0000000000..21e7f2afc8 --- /dev/null +++ b/package/libcap/0002-split-static-shared-install.patch @@ -0,0 +1,30 @@ +libcap: split install into install-shared/install-static + +In order to support static only builds, split the install target into +install-shared and install-static targets. + +Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> + +Index: b/libcap/Makefile +=================================================================== +--- a/libcap/Makefile ++++ b/libcap/Makefile +@@ -60,11 +60,17 @@ + cap_text.o: cap_text.c $(USE_GPERF_OUTPUT) $(INCLS) + $(CC) $(CFLAGS) $(IPATH) $(INCLUDE_GPERF_OUTPUT) -c $< -o $@ + +-install: all ++install: install-shared install-static ++ ++install-common: + mkdir -p -m 0755 $(INCDIR)/sys + install -m 0644 include/sys/capability.h $(INCDIR)/sys + mkdir -p -m 0755 $(LIBDIR) ++ ++install-static: install-common + install -m 0644 $(STALIBNAME) $(LIBDIR)/$(STALIBNAME) ++ ++install-shared: install-common + install -m 0755 $(MINLIBNAME) $(LIBDIR)/$(MINLIBNAME) + ln -sf $(MINLIBNAME) $(LIBDIR)/$(MAJLIBNAME) + ln -sf $(MAJLIBNAME) $(LIBDIR)/$(LIBNAME) |