Homec4science

pkg-config: Remove pthread link flag from Cflags

Authored by Martin Erik Werner <martinerikwerner@gmail.com> on Oct 19 2019, 19:37.

Description

pkg-config: Remove pthread link flag from Cflags

Remove the threads link library variable references from the pkg-config
Cflags: field, removing -lpthread(s) from the compile flags.

"-l*" linker flags should only be part of the Libs: section and should
not be part of the Cflags: section in pkg-config files.

This was first suggested in
https://github.com/google/googletest/pull/2006 and further discussed in
https://github.com/google/googletest/pull/2483 .

Details

Committed
Martin Erik Werner <martinerikwerner@gmail.com>Nov 5 2019, 22:40
Pushed
trottetDec 4 2019, 13:52
Parents
R9484:72adf7a4155b: Googletest export
Branches
Unknown
Tags
Unknown

Event Timeline

Martin Erik Werner <martinerikwerner@gmail.com> committed R9484:6caa879a42d9: pkg-config: Remove pthread link flag from Cflags (authored by Martin Erik Werner <martinerikwerner@gmail.com>).Nov 5 2019, 22:40