Closed anakojm closed 1 year ago
The binary should be linked with an $(ldflags)
variable, not $(cflags)
. Then -pthread
can be moved from cflags
to ldflags
.
Thanks for the input. It's changed in https://github.com/donniebreve/touchcursor-linux/commit/a466e5533c027d50c2223637aeec4f85aad4932e.
cflags
shouldn't be passed when linking the binary.
- $(cc) $(objects) $(cflags) $(ldflags) -o $@
+ $(cc) $(objects) $(ldflags) -o $@
Changed in https://github.com/donniebreve/touchcursor-linux/commit/106b0105c195861f936abf0510ac381cb5658743.
It's a little hard to find these comments on closed PRs. I would appreciate if you opened an issue and referenced the PR in question.
Nice catch :+1: