Skip to content

it may be useful to have way of injecting direct flags into $LDFLAGS #3700

@migueldiascosta

Description

@migueldiascosta

At the toolchain level, EasyBuild treats LDFLAGS as LinkLibraryPaths

LinkLibraryPaths: [
('LDFLAGS', 'Flags passed to linker'), # TODO: overridden by command line?
which prepends -L
class LinkLibraryPaths(AbsPathList):
"""Absolute path to directory containing libraries"""
PREFIX = '-L'

However, in some cases (see #3677 (comment)) there are direct flags that set the library paths

It may then be useful to have a way of injecting direct flags in LDFLAGS

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions