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

14 lines
393 B
Diff
Raw Normal View History

2023-05-03 04:32:53 +00:00
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";