From d86d14074d1adf64fa3d401a0cbf05d0b77f38ae Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 2 Jan 2007 12:14:21 +0000 Subject: [PATCH] - Modified libcurl.pc.in to use Libs.private for the libs libcurl itself needs to get built static. It has been mentioned before and was again brought to our attention by Nathanael Nerode who filed debian bug report #405226 (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=405226). --- CHANGES | 6 ++++++ libcurl.pc.in | 30 +++++++++++++++++++++++++++++- 2 files changed, 35 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 9b8d5ca49..1cd5ccb27 100644 --- a/CHANGES +++ b/CHANGES @@ -6,6 +6,12 @@ Changelog +Daniel (2 January 2007) +- Modified libcurl.pc.in to use Libs.private for the libs libcurl itself needs + to get built static. It has been mentioned before and was again brought to + our attention by Nathanael Nerode who filed debian bug report #405226 + (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=405226). + Daniel (29 December 2006) - Make curl_easy_duphandle() set the magic number in the new handle. diff --git a/libcurl.pc.in b/libcurl.pc.in index c234170e5..456850c2b 100644 --- a/libcurl.pc.in +++ b/libcurl.pc.in @@ -1,10 +1,38 @@ +#*************************************************************************** +# _ _ ____ _ +# Project ___| | | | _ \| | +# / __| | | | |_) | | +# | (__| |_| | _ <| |___ +# \___|\___/|_| \_\_____| +# +# Copyright (C) 2004 - 2007, Daniel Stenberg, , et al. +# +# This software is licensed as described in the file COPYING, which +# you should have received as part of this distribution. The terms +# are also available at http://curl.haxx.se/docs/copyright.html. +# +# You may opt to use, copy, modify, merge, publish, distribute and/or sell +# copies of the Software, and permit persons to whom the Software is +# furnished to do so, under the terms of the COPYING file. +# +# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY +# KIND, either express or implied. +# +# $Id$ +########################################################################### + +# This should most probably benefit from getting a "Requires:" field added +# dynamically by configure. +# prefix=@prefix@ exec_prefix=@exec_prefix@ libdir=@libdir@ includedir=@includedir@ Name: libcurl +URL: http://curl.haxx.se/ Description: Library to transfer files with ftp, http, etc. Version: @VERSION@ -Libs: -L${libdir} -lcurl @LDFLAGS@ @LIBS@ +Libs: -L${libdir} -lcurl @LDFLAGS@ +Libs.private: @LIBS@ Cflags: -I${includedir}