Skip to content

Building with Python 3.8 (or higher?) #26

Open
@ylikx

Description

@ylikx

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`

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Building with Python 3.8 (or higher?) · Issue #26 · ylikx/forpy