Skip to content

Pass --extra-lib-dirs to hsc2hs #7022

@brandon-leapyear

Description

@brandon-leapyear

On MacOS, DYLD_LIBRARY_PATH is stripped from the environment (https://stackoverflow.com/a/35570229/8565175), so currently, there's no way to point hsc2hs to a custom path with dylibs to link. I'm thinking maybe passing --extra-lib-dirs through in ppHsc2hs would allow a workaround

Related ticket for GHC: https://gitlab.haskell.org/ghc/ghc/-/issues/11617#note_295904

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions