Skip to content

Building with Python 3.8 (or higher?) #26

@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`

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