From: Baruch Siach Date: Fri, 5 Aug 2016 09:44:36 +0000 (+0300) Subject: libsepol: fix static build X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5879f0192e99982880aeff7da5bb934b202a6262;p=buildroot.git libsepol: fix static build Commit a3ebe45dcb3e (libsepol: bump to version 2.5, 2016-06-26) didn't refresh correctly the patch adding static build support. Do this now. Fixes: http://autobuild.buildroot.net/results/14b/14bbb7c9c59e7f68f3ae7ad63e075e27a0da2b1e/ http://autobuild.buildroot.net/results/97f/97f61d5e46a7f479e8de5dd19d49f7a3d84cc86e/ http://autobuild.buildroot.net/results/920/920e1ddac6bf93707a187e64a4ef7d95aff09e6c/ Cc: Adam Duskett Signed-off-by: Baruch Siach Signed-off-by: Thomas Petazzoni --- diff --git a/package/libsepol/0001-support-static-only.patch b/package/libsepol/0001-support-static-only.patch index 3e9a84f822..3e6d555e96 100644 --- a/package/libsepol/0001-support-static-only.patch +++ b/package/libsepol/0001-support-static-only.patch @@ -30,8 +30,12 @@ index db6c2ba..0006285 100644 $(LIBA): $(OBJS) -@@ -70,7 +74,11 @@ install: all - install -m 755 $(LIBSO) $(SHLIBDIR) +@@ -66,11 +70,13 @@ + install: all + test -d $(LIBDIR) || install -m 755 -d $(LIBDIR) + install -m 644 $(LIBA) $(LIBDIR) +- test -d $(SHLIBDIR) || install -m 755 -d $(SHLIBDIR) +- install -m 755 $(LIBSO) $(SHLIBDIR) test -d $(LIBDIR)/pkgconfig || install -m 755 -d $(LIBDIR)/pkgconfig install -m 644 $(LIBPC) $(LIBDIR)/pkgconfig +ifeq ($(STATIC),)