ddvk / remarkable2-framebuffer

remarkable2 framebuffer reversing
MIT License
279 stars 22 forks source link

Disable link to Qt GUI and unset rpath in client #53

Closed matteodelabre closed 3 years ago

matteodelabre commented 3 years ago

Fixes #52.

Depending on the toolchain configuration, the client shim (librm2fb_client.so) might get linked to libQt5Gui.so and get its rpath set to a fixed value. In particular, the setting of rpath implies that any binary which preloads the shim will ignore LD_LIBRARY_PATH, causing issue #52. This PR adds the necessary configuration to client.pro to make sure that this does not happen.

Test plan: