Skip to content

Commit

Permalink
Use ld debug 5
Browse files Browse the repository at this point in the history
  • Loading branch information
raub committed Dec 3, 2024
1 parent 1bf7bcc commit 65f75fb
Showing 1 changed file with 22 additions and 6 deletions.
28 changes: 22 additions & 6 deletions src/cpp/bindings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,40 @@
Napi::Object initModule(Napi::Env env, Napi::Object exports) {
// Preload the libs with OUR @RPATH, not some junk builtin rpaths
#ifdef __linux__
dlopen("libicui18n.so.73", RTLD_NOW | RTLD_GLOBAL);
dlopen("libicuuc.so.73", RTLD_NOW | RTLD_GLOBAL);
dlopen("libQt6Core.so.6", RTLD_NOW | RTLD_GLOBAL);
dlopen("libQt6DBus.so.6", RTLD_NOW | RTLD_GLOBAL);
dlopen("libQt6Network.so.6", RTLD_NOW | RTLD_GLOBAL);
dlopen("libicudata.so.73", RTLD_NOW | RTLD_GLOBAL);
dlopen("libicui18n.so.73", RTLD_NOW | RTLD_GLOBAL);
dlopen("libicuio.so.73", RTLD_NOW | RTLD_GLOBAL);
dlopen("libicule.so.73", RTLD_NOW | RTLD_GLOBAL);
dlopen("libicutest.so.73", RTLD_NOW | RTLD_GLOBAL);
dlopen("libicutu.so.73", RTLD_NOW | RTLD_GLOBAL);
dlopen("libQt6Core.so.6", RTLD_NOW | RTLD_GLOBAL);
dlopen("libQt6Network.so.6", RTLD_NOW | RTLD_GLOBAL);
dlopen("libQt6DBus.so.6", RTLD_NOW | RTLD_GLOBAL);
dlopen("libicuuc.so.73", RTLD_NOW | RTLD_GLOBAL);
dlopen("libQt6Gui.so.6", RTLD_NOW | RTLD_GLOBAL);
dlopen("libQt6OpenGL.so.6", RTLD_NOW | RTLD_GLOBAL);
dlopen("libQt6Svg.so.6", RTLD_NOW | RTLD_GLOBAL);
dlopen("libQt6Widgets.so.6", RTLD_NOW | RTLD_GLOBAL);
dlopen("libQt6XcbQpa.so.6", RTLD_NOW | RTLD_GLOBAL);
dlopen("libQt6Qml.so.6", RTLD_NOW | RTLD_GLOBAL);
dlopen("libQt6QmlMeta.so.6", RTLD_NOW | RTLD_GLOBAL);
dlopen("libQt6Quick.so.6", RTLD_NOW | RTLD_GLOBAL);
dlopen("libQt6QuickControls2.so.6", RTLD_NOW | RTLD_GLOBAL);
dlopen("libQt6QuickTemplates2.so.6", RTLD_NOW | RTLD_GLOBAL);
dlopen("libQt6QuickWidgets.so.6", RTLD_NOW | RTLD_GLOBAL);
dlopen("libQt6QuickVectorImage.so.6", RTLD_NOW | RTLD_GLOBAL);
dlopen("libQt6QmlCompiler.so.6", RTLD_NOW | RTLD_GLOBAL);
dlopen("libQt6QmlCore.so.6", RTLD_NOW | RTLD_GLOBAL);
dlopen("libQt6QuickControls2Basic.so.6", RTLD_NOW | RTLD_GLOBAL);
dlopen("libQt6QuickControls2Impl.so.6", RTLD_NOW | RTLD_GLOBAL);
dlopen("libQt6QuickDialogs2.so.6", RTLD_NOW | RTLD_GLOBAL);
dlopen("libQt6QuickDialogs2QuickImpl.so.6", RTLD_NOW | RTLD_GLOBAL);
dlopen("libQt6QuickDialogs2Utils.so.6", RTLD_NOW | RTLD_GLOBAL);
dlopen("libQt6QuickEffects.so.6", RTLD_NOW | RTLD_GLOBAL);
dlopen("libQt6QuickLayouts.so.6", RTLD_NOW | RTLD_GLOBAL);
dlopen("libQt6QuickParticles.so.6", RTLD_NOW | RTLD_GLOBAL);
dlopen("libQt6QuickShapes.so.6", RTLD_NOW | RTLD_GLOBAL);
dlopen("libQt6QmlWorkerScript.so.6", RTLD_NOW | RTLD_GLOBAL);
dlopen("libQt6QmlModels.so.6", RTLD_NOW | RTLD_GLOBAL);
dlopen("libqmlui.so", RTLD_NOW | RTLD_GLOBAL);
#endif

Expand Down

0 comments on commit 65f75fb

Please sign in to comment.