From 67a476599bc3e42416ec366321ccd752096c0e19 Mon Sep 17 00:00:00 2001 From: Cory Fields Date: Tue, 20 May 2014 21:02:02 -0400 Subject: [PATCH] packaging: fixup pkg-config Set the private libs as determined by configure, and add the missing lib link. --- libsecp256k1.pc.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libsecp256k1.pc.in b/libsecp256k1.pc.in index 62a786d..1c72dd0 100644 --- a/libsecp256k1.pc.in +++ b/libsecp256k1.pc.in @@ -8,5 +8,6 @@ Description: Optimized C library for EC operations on curve secp256k1 URL: https://github.com/bitcoin/secp256k1 Version: @PACKAGE_VERSION@ Cflags: -I${includedir} -Libs: -L${libdir} +Libs.private: @SECP_LIBS@ +Libs: -L${libdir} -lsecp256k1