mirror of
https://github.com/curl/curl.git
synced 2026-04-14 18:21:40 +03:00
libcurl.pc: make it relocatable
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
This commit is contained in:
parent
88bf689f94
commit
3862c37b63
6 changed files with 360 additions and 5 deletions
|
|
@ -23,10 +23,10 @@
|
|||
# This should most probably benefit from getting a "Requires:" field added
|
||||
# dynamically by configure.
|
||||
#
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
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@"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue