summaryrefslogtreecommitdiff
path: root/strata/build-essential/glibc.morph
diff options
context:
space:
mode:
Diffstat (limited to 'strata/build-essential/glibc.morph')
-rw-r--r--strata/build-essential/glibc.morph8
1 files changed, 8 insertions, 0 deletions
diff --git a/strata/build-essential/glibc.morph b/strata/build-essential/glibc.morph
index a4007bd4..e6f87fde 100644
--- a/strata/build-essential/glibc.morph
+++ b/strata/build-essential/glibc.morph
@@ -84,6 +84,14 @@ install-commands:
netgroup: nis
EOF
- install -m 644 -o root -g root nsswitch.conf "$DESTDIR/etc/nsswitch.conf"
+- |
+ cat <<EOF > ld.so.conf
+ /lib
+ /usr/lib
+ /usr/local/lib
+ include /etc/ld.so.conf.d/*.conf
+ EOF
+- install -m 644 -o root -g root ld.so.conf "$DESTDIR/etc/ld.so.conf"
# Compatibility symlink to work around the ABI break GLIBC introduced for
# ARMv7 hard-float platforms in commit d3b36017d43.
- case "$MORPH_ARCH" in