leosac / access-control

Leosac Access Control - Open Source Physical Access Control System
https://leosac.com
GNU Affero General Public License v3.0
240 stars 40 forks source link

Fix RPATH for non-cc builds #115

Closed knight-of-ni closed 6 years ago

knight-of-ni commented 6 years ago

This is the last PR of the day. I promise!

This fixes the following fatal error when attempting to run Leosac 0.7.0 pre-release after building natively:

Creating Leosac Kernel...
...
[2018-02-12 19:11:38.185] [console] [info] [9921] Loading library at: /usr/local/lib/leosac/libpifacedigital.so
[2018-02-12 19:11:39.135] [console] [error] [9921] FAILURE, full path was:{/usr/local/lib/leosaclibpifacedigital.so}: DynLib::dlopen(): libwebsock-api.so: cannot open shared object file: No such file or directory
...
Aborted
xaqq commented 6 years ago

Thanks for all those PR improving the build system. They're very welcome :)