Closed fogti closed 4 years ago
Hi.
zz.toml has both lflags and cflags.
I believe env variables are missing tho, will have to add those. They'd also fit your use case better because they're standard
could you try if PR #23 suits your use case?
It fixes my use case.
(Now the hello
example links successfully, but fails with a SIGSEGV at runtime...)
great, please open a new bug for the segfault and try to attach as much info as possible.
I haven't found documentation about this (I haven't looked at the code, yet). It would be nice to specify the additional
CFLAGS
andLDFLAGS
either viazz.toml
(this is kinda undocumented) and via environment variables (this is currently missing).Use case: I have a "semi-broken"
clang
install, which requires additional linker flags/libraries to successfully link. Otherwise, it errors out with something like the following:(missing library would be probably
-lunwind
in this case).