linker flags error in cxx_library and "-I $(location //targets:myrule)" preprocessor flags
Opened this issue · 0 comments
hendych commented
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
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
Expected
string "-lct#iphonesimulator-x86_64,private-headers.hm" not included in linker flags