Created attachment 303145 [details, diff] diff against original ebuild Following patch allows to build shared libXNVCtrl and also fixes build system so that 'make all' really does it all :)
Created attachment 303147 [details, diff] Build and link shared libXNVCtrl
Created attachment 303149 [details, diff] Build and link shared libXNVCtrl In previous version I forgot to supply -L for libXNVCtrl which might have led to linking to host, rather than freshly built library
Could you please update the patch to latest release and commit, Kacper?
Please also send the patch to "Aaron Plattner <aplattner@nvidia.com>", he might accept it.
Please use x11-drivers/nvidia-drivers[tools] instead.