ayaports/user/rstudio-desktop/desktop-main-skip-nosandbox-on-musl.patch

13 lines
393 B
Diff

diff --git a/src/cpp/desktop/DesktopMain.cpp.orig b/src/cpp/desktop/DesktopMain.cpp
index d80919b..5ed17a5 100644
--- a/src/cpp/desktop/DesktopMain.cpp.orig
+++ b/src/cpp/desktop/DesktopMain.cpp
@@ -632,7 +632,7 @@ int main(int argc, char* argv[])
}
#endif
-#if defined(Q_OS_LINUX)
+#if defined(Q_OS_LINUX) && defined(__GLIBC__)
static char noSandbox[] = "--no-sandbox";