rgeolocate icon indicating copy to clipboard operation
rgeolocate copied to clipboard

add check for shm_open in librt and link to it if we find it

Open spotrh opened this issue 5 years ago • 0 comments

In Fedora, we had a bug report that rgeolocate had stopped building. Apparently, -lrt used to be in the default linking flags inherited from R, but now it is not. This causes rgeolocate to have a missing symbol for shm_open. This pull request adds a check in configure for shm_open in librt, and passes it into the PKG_LIBS to be used at compile if found.

spotrh avatar Aug 30 '19 02:08 spotrh