Skip to content

For externals, get correct gmt sharedir path - #3360

Closed
PaulWessel wants to merge 1 commit into
masterfrom
get-share-path
Closed

PaulWessel wants to merge 1 commit into
masterfrom
get-share-path

Conversation

@PaulWessel

@PaulWessel PaulWessel commented May 20, 2020 •

Copy link
Copy Markdown
Contributor

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