@@ -216,11 +216,19 @@ def find_files(directory, patterns):
216
216
217
217
# Add QtWebEngineProcess (if found)
218
218
web_process_path = "/usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess"
219
- if os .path .exists (web_process_path ):
220
- external_so_files .append ((web_process_path , os .path .basename (web_process_path )))
221
- web_process_resource_path = "/usr/share/qt5/resources"
222
- for filename in find_files (web_process_resource_path , ["*" ]):
223
- src_files .append ((filename , os .path .basename (filename )))
219
+ external_so_files .append ((web_process_path , os .path .basename (web_process_path )))
220
+
221
+ # Add libsoftokn3
222
+ nss_path = "/usr/lib/x86_64-linux-gnu/nss/"
223
+ for filename in find_files (nss_path , ["*" ]):
224
+ external_so_files .append ((filename , os .path .basename (filename )))
225
+
226
+ # Add QtWebEngineProcess Resources & Local
227
+ qt5_path = "/usr/share/qt5/"
228
+ for filename in find_files (os .path .join (PATH , "resources" ), ["*" ]):
229
+ external_so_files .append ((filename , os .path .relpath (filename , start = qt5_path )))
230
+ for filename in find_files (os .path .join (PATH , "translations" , "qtwebengine_locales" ), ["*" ]):
231
+ external_so_files .append ((filename , os .path .relpath (filename , start = qt5_path )))
224
232
225
233
# Append Linux ICON file
226
234
iconFile += ".svg"
0 commit comments