zielmicha / nim-dbus

libdbus binding for Nim
MIT License
19 stars 7 forks source link

First line in dbus.nim prevents cross compiling #22

Open janflyborg opened 4 months ago

janflyborg commented 4 months ago

As far as I can see, the line:

{.passl: "-ldbus-1".}

in dbus.nim is unnecessary, since the library is loaded by dlopen. When cross compiling this library for another machine architecture, it forces us to have the DBus library available for that platform.

I have removed it from my installation and everything works fine, so could it please be removed?