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

Fix GMT_LIBDIR_RELATIVE for Windows #3361

Merged
merged 1 commit into from
May 20, 2020
Merged

Fix GMT_LIBDIR_RELATIVE for Windows #3361

merged 1 commit into from
May 20, 2020

Conversation

seisman
Copy link
Member

@seisman seisman commented May 20, 2020

On Windows, the gmt.dll is located in the bin directory, instead of
the usual lib directory. Thus, for windows, we need to set
GMT_LIBDIR_RELATIVE to bin.

Closes #3353.

On Windows, the gmt.dll is located in the `bin` directory, instead of
the usual `lib` directory. Thus, for windows, we need to set
`GMT_LIBDIR_RELATIVE` to `bin`.

Closes #3353.
@seisman seisman merged commit d5b80a5 into master May 20, 2020
@seisman seisman deleted the libdir-win branch May 20, 2020 07:23
seisman added a commit to GenericMappingTools/pygmt that referenced this pull request May 20, 2020
The variable GMT_SHAREDIR was needed due to a GMT bug.
See GenericMappingTools/gmt#3353 for the bug report,
and GenericMappingTools/gmt#3361 for the fix.

The conda GMT package was rebuilt in conda-forge/gmt-feedstock#94,
in which the patch was applied to GMT 6.0.0.

Now PyGMT should work well with no need to add the variable GMT_SHAREDIR.
seisman added a commit to GenericMappingTools/pygmt that referenced this pull request May 20, 2020
The variable GMT_SHAREDIR was needed due to a GMT bug.
See GenericMappingTools/gmt#3353 for the bug report,
and GenericMappingTools/gmt#3361 for the fix.

The conda GMT package was rebuilt in conda-forge/gmt-feedstock#94,
in which the patch was applied to GMT 6.0.0.

Now PyGMT should work well with no need to add the variable GMT_SHAREDIR.
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
2 participants