You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The Requires.privateline in the pkgconfig file seems to be erroneous according to the pkg-config specifications. Both Requires and Requires.private should list names of pkg-config modules and not refer to flags directly, whereas -pthread looks more appropriate for Libs.private. Indeed on my system (openSUSE Tumbleweed) there does not seem to be any pkg-config module by the name of -pthread (or even pthread) installed even though PTL can find pthread.h when building and link against it just fine (glibc-devel provides the pthread header).
Please let me know if I am wrong here; if not, here is a straightforward patch which I can make a PR with if you wish:
* pkgconfig: Use Libs.private for "-pthread" flag.
Fixes#21.
* Update cmake/Templates/ptl.pc.in
* Bump version to 2.2.1
Co-authored-by: Jonathan R. Madsen <jrmadsen@users.noreply.github.com>
Describe the bug
The
Requires.private
line in the pkgconfig file seems to be erroneous according to the pkg-config specifications. BothRequires
andRequires.private
should list names of pkg-config modules and not refer to flags directly, whereas-pthread
looks more appropriate forLibs.private
. Indeed on my system (openSUSE Tumbleweed) there does not seem to be any pkg-config module by the name of-pthread
(or evenpthread
) installed even though PTL can findpthread.h
when building and link against it just fine (glibc-devel
provides the pthread header).Please let me know if I am wrong here; if not, here is a straightforward patch which I can make a PR with if you wish:
Many thanks for your library btw.
The text was updated successfully, but these errors were encountered: