justas-d / mpd-rich-presence-discord

Broadcast your MPD state using discord rich presence!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Detect discord-rpc installed to system and link dynamically to it

E5ten opened this issue · comments

commented

Is there a chance this will be possible? As dynamic linking is usually preferred.

Pushed some stuff to the reuse-so branch. CMake will now try to locate discord-rpc libs and headers. If it cannot find them, it'll build from source.

Before I merge this, I'd like you to try building the lib on the reuse-so branch check if the output of ldd mpd_discord_richpresence for libdiscord-rpc.so is the correct path to the discord-rpc lib installed at your system path.

commented

It points to the correct path thanks for the quick work :)