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

Building with Python 3.8 (or higher?) #26

Open
ylikx opened this issue Jun 13, 2020 · 0 comments
Open

Building with Python 3.8 (or higher?) #26

ylikx opened this issue Jun 13, 2020 · 0 comments

Comments

@ylikx
Copy link
Owner

ylikx commented Jun 13, 2020

In Python 3.8 python3-config --ldflags does not contain the flag to link with libpython anymore.
Use python3-config --ldflags --embed instead.

For example:

gfortran -c forpy_mod.F90
gfortran intro_to_forpy.F90 forpy_mod.o `python3-config --ldflags --embed`
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

No branches or pull requests

1 participant