1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-10-25 09:42:35 +00:00
serenity/Ports/python3/patches/use-rtld-lazy-for-dlopenflags.patch
Linus Groh 4166765292 Ports: Update Python to 3.9.2
Released on 2021-02-19, no patch changes required.
https://www.python.org/downloads/release/python-392/
2021-02-21 21:44:52 +01:00

11 lines
399 B
Diff

--- Python-3.9.2/Python/pystate.c 2021-02-21 20:22:44.083023482 +0100
+++ Python-3.9.2/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;