From 4ed95f9886f1255a36aaf1d581b260b63a9f3bb4 Mon Sep 17 00:00:00 2001
From: Simon McVittie <smcv@collabora.com>
Date: Mon, 18 May 2020 12:40:32 +0100
Subject: [PATCH] bwrap: When we bind /usr, also bind /etc/ld.so.conf*

We'll need those if we want to run ldconfig.

Signed-off-by: Simon McVittie <smcv@collabora.com>
---
 src/bwrap.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/bwrap.c b/src/bwrap.c
index 5f5e7701d..437ea68fc 100644
--- a/src/bwrap.c
+++ b/src/bwrap.c
@@ -183,7 +183,9 @@ pv_bwrap_bind_usr (FlatpakBwrap *bwrap,
   static const char * const bind_etc[] =
   {
     "alternatives",
-    "ld.so.cache"
+    "ld.so.cache",
+    "ld.so.conf",
+    "ld.so.conf.d",
   };
   gsize i;
 
-- 
GitLab