diff options
author | Yann E. MORIN <yann.morin.1998@free.fr> | 2014-12-13 09:38:54 -0500 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2014-12-13 09:38:54 -0500 |
commit | 6388650c8aa5de9cefd02977923d32b871318229 (patch) | |
tree | 7db21ccdc21144478d941477dadbba2c6d0e479b /libtirpc.pc.in | |
parent | a4fa582908b9c63957240cb0cb68b59d56244ef5 (diff) | |
download | ti-rpc-6388650c8aa5de9cefd02977923d32b871318229.tar.gz |
pkg-config: needs pthread as private library
libtirpc needs pthreads. This is automatically pulled in when linking
with the shared library, thanks to the DT_NEEDED ELF tags.
But for a static library, there is no such mechanism to identify
required libraries.
Thus, add -lpthread to the private libraries in the pkg-config file.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'libtirpc.pc.in')
-rw-r--r-- | libtirpc.pc.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libtirpc.pc.in b/libtirpc.pc.in index ec4cf75..38034c5 100644 --- a/libtirpc.pc.in +++ b/libtirpc.pc.in @@ -8,4 +8,5 @@ Description: Transport Independent RPC Library Requires: Version: @PACKAGE_VERSION@ Libs: -L@libdir@ -ltirpc +Libs.private: -lpthread Cflags: -I@includedir@/tirpc |