Skip to content

LDSHARED needs to be [re]defined for packages that use distutils #1136

@damianam

Description

@damianam

The background of the problem is that when python gets built LDSHARED gets defined in $EBROOTPYTHON/lib/python2.7/_sysconfigdata.py. If it is not overridden, that's the value used. That works fine in most cases. However, when mixing compilers (building Python with GCCcore but pandas with icc), that doesn't work, as the linker is gcc, but using intel flags.

We should consider explicitely setting the following variables in PythonPackage.py:

  • CC (already done)
  • CXX (already done)
  • OPT
  • CFLAGS (already done)
  • CCSHARED
  • LDSHARED
  • SO
  • AR
  • ARFLAGS

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions