* [Buildroot] [PATCH] libsepol: fix static build
@ 2016-08-05 9:44 Baruch Siach
2016-08-05 13:49 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Baruch Siach @ 2016-08-05 9:44 UTC (permalink / raw)
To: buildroot
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 <Aduskett@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
package/libsepol/0001-support-static-only.patch | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/package/libsepol/0001-support-static-only.patch b/package/libsepol/0001-support-static-only.patch
index 3e9a84f8222a..3e6d555e96e5 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),)
--
2.8.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] libsepol: fix static build
2016-08-05 9:44 [Buildroot] [PATCH] libsepol: fix static build Baruch Siach
@ 2016-08-05 13:49 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2016-08-05 13:49 UTC (permalink / raw)
To: buildroot
Hello,
On Fri, 5 Aug 2016 12:44:36 +0300, Baruch Siach wrote:
> 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 <Aduskett@gmail.com>
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> ---
> package/libsepol/0001-support-static-only.patch | 8 ++++++--
> 1 file changed, 6 insertions(+), 2 deletions(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-08-05 13:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-05 9:44 [Buildroot] [PATCH] libsepol: fix static build Baruch Siach
2016-08-05 13:49 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox