Skip to content

Fix pythonfmu-export module on OSX#187

Merged
markaren merged 1 commit into
NTNU-IHB:masterfrom
jschueller:osx
Nov 20, 2023
Merged

Fix pythonfmu-export module on OSX#187
markaren merged 1 commit into
NTNU-IHB:masterfrom
jschueller:osx

Conversation

@jschueller
Copy link
Copy Markdown
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
Copy Markdown
Member

markaren commented Nov 9, 2023

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

@jschueller
Copy link
Copy Markdown
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
@markaren
Copy link
Copy Markdown
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