diff --git a/src/bwrap.c b/src/bwrap.c index 7bdef02f9dde0ae2d2be4357c111ddcfb6a32699..cadd9c83d53fd5056c707f9ff43dc67d66f60306 100644 --- a/src/bwrap.c +++ b/src/bwrap.c @@ -224,7 +224,8 @@ pv_bwrap_bind_usr (FlatpakBwrap *bwrap, member != NULL; member = g_dir_read_name (dir)) { - if (g_str_has_prefix (member, "lib") + if ((g_str_has_prefix (member, "lib") + && !g_str_equal (member, "libexec")) || g_str_equal (member, "bin") || g_str_equal (member, "sbin") || g_str_equal (member, ".ref"))