Skip to content
This repository was archived by the owner on Nov 10, 2023. It is now read-only.
This repository was archived by the owner on Nov 10, 2023. It is now read-only.

GHC linking fails due to comma in "#default,static" #906

@ghost

Description

Having a dependant haskell library will generate a linker command line that contains
-Wl,-rpath '-Wl,/path/to/buck-out/gen/some-library/some-library#default,static'

This causes the clang linker to interpret 'static' as a separate path and to fail with:
ld: file not found: static

I've fixed this for now by changing the comma to a plus: '#default+static'. Would
it be feasible to change this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions