--- buildtools/config.py.orig	2025-10-29 01:38:50
+++ buildtools/config.py	2026-01-30 09:12:08
@@ -842,7 +842,7 @@
                 line = line.strip()
                 endPos = line.rfind(' (')
                 curName = line[:endPos]
-                newName = '@loader_path/' + os.path.basename(curName)
+                newName = '@loader_path/../../../' + os.path.basename(curName)
                 cmd = 'install_name_tool -change %s %s %s' % (curName, newName, filename)
                 os.system(cmd)
 
@@ -1064,14 +1064,10 @@
     for filename in ['preamble.txt', 'licence.txt', 'lgpl.txt', 'gpl.txt']:
         copy_file(opj(cfg.WXDIR, 'docs', filename), opj('license',filename),
                       update=1, verbose=1)
-
-    # Get the sip license too
-    copy_file(opj('sip', 'siplib', 'LICENSE'), opj('license', 'sip-license.txt'),
-              update=1, verbose=1)
 
     # Combine the relevant files into a single LICENSE.txt file
     text = ''
-    for filename in ['preamble.txt', 'licence.txt', 'lgpl.txt', 'sip-license.txt']:
+    for filename in ['preamble.txt', 'licence.txt', 'lgpl.txt']:
         with open(opj('license', filename), 'r', encoding='utf-8') as f:
             text += f.read() + '\n\n'
     with open('LICENSE.txt', 'w') as f:
