22 Nov
2023
22 Nov
'23
19:39
Hi Cor! On Wed, 2023-11-22 at 20:14 +0100, Cor Blom wrote:
In OBS RPATH is not removed, which gives an rpmlint error. Now I use chrpath to solve this, but there should be a better way. RPATH is set nowhere and I understand that the default of cmake is to remove it at install. I have reported this upstream, but the developer does not know what is causing this. So I ask here. Can someone help?
Are -DCMAKE_SKIP_RPATH=FALSE and -DCMAKE_SKIP_INSTALL_RPATH=TRUE what you are looking for? This should strip RPATH for the installation but keep it during build. Adrian