[gtk/matthiasc/for-master] Cosmetics
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master] Cosmetics
- Date: Sat, 3 Jul 2021 13:11:45 +0000 (UTC)
commit 7f2648a0131b71c364ac60286660e376ec97452e
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Jul 3 09:10:27 2021 -0400
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]