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 pythonfmu-export module on OSX #187

Merged
merged 1 commit into from
Nov 20, 2023
Merged

Conversation

jschueller
Copy link
Contributor

@jschueller jschueller commented Nov 5, 2023

on Linux it should not be linked at all as symbols are loaded through the interpreter (same on MacOS but using a dedicated flag), linking is only required on Windows where undefined symbols are not allowed

Another possibility is linking to Python::Module, but it requires cmake>=3.24 (using Development.Module component) and that's a bit too recent

First l only wanted to help building on osx: see conda-forge/pythonfmu-feedstock#13

Closes #116
(involuntary bonus :)

Maybe it will help for #152 too

@markaren
Copy link
Member

markaren commented Nov 9, 2023

Busy week, but I'll check your work next week.

@jschueller
Copy link
Contributor Author

hi @markaren, any chance to give this a look ? this is a tiny but important fix

@markaren markaren merged commit 61e4cc5 into NTNU-IHB:master Nov 20, 2023
9 checks passed
@markaren
Copy link
Member

Thanks, LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Darwin support
2 participants