Ironholds / rgeolocate

Generalised IP geolocation through R
https://cran.r-project.org/web/packages/rgeolocate/index.html
Other
66 stars 22 forks source link

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

Open spotrh opened 5 years ago

spotrh commented 5 years ago

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.