Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set RUNPATH for grass libraries in non-standard library path. #53

Merged
merged 1 commit into from
Dec 17, 2024

Conversation

sebastic
Copy link
Contributor

@sebastic sebastic commented Dec 17, 2024

The CMake build doesn't set the library RUNPATH as the Autotools does for the GRASS libraries in non-standard library paths like those used by the Debian package.

Autotools:

-Wl,-rpath,"@GRASS_GISBASE@/lib"

CMake:

set_target_properties(gdal_grass PROPERTIES INSTALL_RPATH "${GRASS_GISBASE}/lib")

Copy link
Collaborator

@nilason nilason left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@nilason nilason added this to the 1.0.3 milestone Dec 17, 2024
@nilason nilason merged commit 1d7f4ae into OSGeo:main Dec 17, 2024
1 check passed
@sebastic sebastic deleted the rpath branch December 17, 2024 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants