From 7f2648a0131b71c364ac60286660e376ec97452e Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 3 Jul 2021 09:10:27 -0400 Subject: [PATCH] Cosmetics Amend LD_PRELOAD instead of replacing it, so you can just point it at the right libgtk-4.so while running squares.py from elsewhere. --- examples/squares.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/squares.py b/examples/squares.py index 5aea3d32cd..7e46c7f94a 100755 --- a/examples/squares.py +++ b/examples/squares.py @@ -1,4 +1,4 @@ -#!/usr/bin/env -S GI_TYPELIB_PATH=${PWD}/build/gtk:${GI_TYPELIB_PATH} LD_PRELOAD=${PWD}/build/gtk/libgtk-4.so python3 +#!/usr/bin/env -S GI_TYPELIB_PATH=${PWD}/build/gtk:${GI_TYPELIB_PATH} LD_PRELOAD=${LD_PRELOAD}:${PWD}/build/gtk/libgtk-4.so python3 import gi