[gtk/matthiasc/for-master] Cosmetics




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]