two oopsies

This commit is contained in:
Kenzzer
2024-02-09 23:18:45 +01:00
parent fa6bf9c44c
commit 7cc832efc8
2 changed files with 15 additions and 8 deletions
+8 -1
View File
@@ -537,7 +537,14 @@ class ExtensionConfig(object):
for library in dynamic_libs:
source_path = os.path.join(lib_folder, library)
compiler.postlink.append(source_path)
output_path = os.path.join(binary.localFolder, library)
# Ensure the output path exists.
context.AddFolder(binary.localFolder)
output = context.AddSymlink(source_path, output_path)
compiler.weaklinkdeps += [output]
compiler.linkflags[0:0] = [library]
return binary