Files
ladybird/Ports/python3/patches/use-rtld-lazy-for-dlopenflags.patch
Linus Groh a9fa3fb095 Ports: Update Python to 3.9.4
Released on 2021-04-04 as a hotfix release superseding 3.9.3.
https://www.python.org/downloads/release/python-394/
2021-04-06 22:25:33 +02:00

12 lines
399 B
Diff

--- Python-3.9.4/Python/pystate.c 2021-02-21 20:22:44.083023482 +0100
+++ Python-3.9.4/Python/pystate.c 2021-02-21 20:30:13.907513469 +0100
@@ -223,7 +223,7 @@
interp->eval_frame = _PyEval_EvalFrameDefault;
#ifdef HAVE_DLOPEN
-#if HAVE_DECL_RTLD_NOW
+#if defined(HAVE_DECL_RTLD_NOW) && !defined(__serenity__)
interp->dlopenflags = RTLD_NOW;
#else
interp->dlopenflags = RTLD_LAZY;