Building against a local sysroot rather than an installed libnymea-sunspec-dev left the resulting binaries unable to find libnymea-sunspec1 at run time: the sysroot is not in the dynamic linker's cache, so -L alone is not enough and every test had to be launched through LD_LIBRARY_PATH. Only the NYMEA_SUNSPEC_PATH branch is touched. The package build resolves the library through pkg-config and gets no rpath, as before. Verified both ways: with NYMEA_SUNSPEC_PATH the binary carries a RUNPATH to the sysroot, resolves libnymea-sunspec1 there and runs its 44 tests with LD_LIBRARY_PATH unset; without it, no sunspec rpath is generated at all. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
etm-powersync-plugins-modbus
Languages
CSS
93.6%
C++
3.3%
HTML
3%