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

For externals, get correct gmt sharedir path #3360

Closed
wants to merge 1 commit into from

Conversation

PaulWessel
Copy link
Member

@PaulWessel PaulWessel commented May 20, 2020

When externals are calling the gmt shared library, we cannot rely on gmt_guess_sharedir since those paths are based on that of the external program. Instead, we call gmt --show-sharedir via popen. Hopefully closes #3353.

When externals are calling the gmt library, we cannot rely on the runtime paths etc since those reflect the external program.  Instead, we call gmt --show-sharedir via popen.
@PaulWessel PaulWessel changed the title For externals, get corect gmt sharedir path For externals, get correct gmt sharedir path May 20, 2020
@PaulWessel PaulWessel requested a review from seisman May 20, 2020 04:26
@PaulWessel PaulWessel closed this May 20, 2020
@PaulWessel PaulWessel deleted the get-share-path branch May 20, 2020 07:22
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.

A potential bug in guessing GMT's share directory
1 participant