--- tidy/lib.py.orig	2025-12-05 13:34:43
+++ tidy/lib.py	2025-12-05 13:35:35
@@ -74,7 +74,7 @@
         # Try loading library
         for libname in self.libnames:
             try:
-                self.lib = ctypes.CDLL(libname)
+                self.lib = ctypes.CDLL(os.path.join("@@TIDY_LIB@@", libname))
                 break
             except OSError:
                 continue
