mirror of
https://github.com/moparisthebest/curl
synced 2024-11-16 14:35:03 -05:00
3862c37b63
It supposes when people specify the libdir/includedir they do it to change where under prefix/exec_prefix it should be, not to make it independent of prefix/exec_prefix. Closes #6061
40 lines
1.6 KiB
PkgConfig
40 lines
1.6 KiB
PkgConfig
#***************************************************************************
|
|
# _ _ ____ _
|
|
# Project ___| | | | _ \| |
|
|
# / __| | | | |_) | |
|
|
# | (__| |_| | _ <| |___
|
|
# \___|\___/|_| \_\_____|
|
|
#
|
|
# Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, 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 https://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.
|
|
#
|
|
###########################################################################
|
|
|
|
# This should most probably benefit from getting a "Requires:" field added
|
|
# dynamically by configure.
|
|
#
|
|
prefix=${pcfiledir}/@pkgconf_to_prefix@
|
|
exec_prefix=${pcfiledir}/@pkgconf_to_exec_prefix@
|
|
libdir=${exec_prefix}/@exec_prefix_to_libdir@
|
|
includedir=${prefix}/@prefix_to_includedir@
|
|
supported_protocols="@SUPPORT_PROTOCOLS@"
|
|
supported_features="@SUPPORT_FEATURES@"
|
|
|
|
Name: libcurl
|
|
URL: https://curl.haxx.se/
|
|
Description: Library to transfer files with ftp, http, etc.
|
|
Version: @CURLVERSION@
|
|
Libs: -L${libdir} -lcurl @LIBCURL_NO_SHARED@
|
|
Libs.private: @LIBCURL_LIBS@
|
|
Cflags: -I${includedir} @CPPFLAG_CURL_STATICLIB@
|