Skip to content

linker flags error in cxx_library and "-I $(location //targets:myrule)" preprocessor flags #149

Open
@hendych

Description

@hendych

Hi guys, I have 2 issues in buck_local project generation.

1. cxx_library rule is not included in linker flags BuckLocal/BUCK. This mapping caused compiler error (missing symbol) when I used cxx_library rule.

Current

cxx_library() not included in linker flags BuckLocal/BUCK

Expected

library gets linked in BuckLocal/BUCK
Screen Shot 2021-03-25 at 13 43 44

2. Some of my rules are using preprocessor_flag = ["-I $(location //targets:myrule)"]. Somehow this gets filtered in the query and included in linker flags.

Current

Screen Shot 2021-03-25 at 13 39 28

Caused by
Screen Shot 2021-03-25 at 13 41 47

Expected

string "-lct#iphonesimulator-x86_64,private-headers.hm" not included in linker flags

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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