summaryrefslogtreecommitdiff
path: root/elements/gnu-toolchain/glibc.bst
diff options
context:
space:
mode:
Diffstat (limited to 'elements/gnu-toolchain/glibc.bst')
-rw-r--r--elements/gnu-toolchain/glibc.bst37
1 files changed, 37 insertions, 0 deletions
diff --git a/elements/gnu-toolchain/glibc.bst b/elements/gnu-toolchain/glibc.bst
index 01c1971f..73408726 100644
--- a/elements/gnu-toolchain/glibc.bst
+++ b/elements/gnu-toolchain/glibc.bst
@@ -19,6 +19,11 @@ variables:
- arch.startswith("armv7"):
glibc-arch-flags: --without-fp
+ - arch in ["armv8b64", "armv8l64", "ppc64b", "ppc64l", "x86_64"]:
+ # Setting this will affect BuildStream's default %{libdir} which
+ # affects the built-in split rules.
+ lib: "lib64"
+
environment:
PATH: /usr/bin:/bin:/usr/sbin:/sbin:/tools/bin:/tools/sbin
@@ -74,3 +79,35 @@ config:
strip-commands:
- |
%{stage3-strip-binaries}
+
+public:
+ bst:
+ split-rules:
+ runtime:
+ (>):
+ - |
+ %{sysconfdir}/*
+ - |
+ /%{lib}/ld*.so*
+ - |
+ /%{lib}/lib*.so*
+ - |
+ %{libdir}/*crt*.o
+
+ devel:
+ (>):
+ - |
+ /%{lib}/lib*.a
+ - |
+ /%{lib}/lib*.la
+
+ locale:
+ (>):
+ - |
+ %{libdir}/gconv
+ - |
+ %{libdir}/gconv/*
+ - |
+ %{prefix}/lib/locale
+ - |
+ %{prefix}/lib/locale/locale-archive