diff options
author | Cristian Morales Vega <cristian@samknows.com> | 2020-10-11 23:46:53 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-10-15 16:04:21 +0200 |
commit | 3862c37b6373a55ca704171d45ba5ee91dec2c9f (patch) | |
tree | d3c498a5d9aeb2d53e079fd3b075b533ae759ddc /libcurl.pc.in | |
parent | 88bf689f94bc5717f1826192fbe2bea252804bcb (diff) | |
download | curl-3862c37b6373a55ca704171d45ba5ee91dec2c9f.tar.gz |
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
Diffstat (limited to 'libcurl.pc.in')
-rw-r--r-- | libcurl.pc.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libcurl.pc.in b/libcurl.pc.in index fd1ce2204..78e31573a 100644 --- a/libcurl.pc.in +++ b/libcurl.pc.in @@ -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@" |