From 99eec397d22669c301f3c4a6c6872429cc33ee29 Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Wed, 2 Apr 2014 01:58:32 +0100 Subject: [PATCH] Fix pkg-config generation. The NET_LIBS configuration variable was not being exapanded in the pkgpconfig template file. This caused static builds against hamlib to fail on Windows because the WinSock library was not referenced. --- hamlib.pc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hamlib.pc.in b/hamlib.pc.in index 3a62d0287..e29453ae9 100644 --- a/hamlib.pc.in +++ b/hamlib.pc.in @@ -10,4 +10,4 @@ Version: @PACKAGE_VERSION@ Requires.private: @LIBUSB@ Cflags: -I${includedir} @PTHREAD_CFLAGS@ Libs: -L${libdir} -lhamlib -Libs.private: @MATH_LIBS@ @DL_LIBS@ @PTHREAD_LIBS@ +Libs.private: @MATH_LIBS@ @DL_LIBS@ @NET_LIBS@ @PTHREAD_LIBS@