Re: [Libtirpc-devel] [PATCH v2] pkg-config: use the correct replacements for libdir/includedir

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 4/20/20 2:26 PM, Eli Schwartz wrote:
> They are defined pkg-config variables for a reason, let's reuse them as
> is the intended usage of pkg-config. This ensures various pkg-config
> features continue to work as expected.
> 
> Signed-off-by: Eli Schwartz <eschwartz@xxxxxxxxxxxxx>
Committed... (tag: libtirpc-1-2-7-rc1)

steved.
> ---
> 
> v2: forgot the Libs change
> 
>  libtirpc.pc.in | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/libtirpc.pc.in b/libtirpc.pc.in
> index 38034c5..d2c7878 100644
> --- a/libtirpc.pc.in
> +++ b/libtirpc.pc.in
> @@ -7,6 +7,6 @@ Name: libtirpc
>  Description: Transport Independent RPC Library
>  Requires:
>  Version: @PACKAGE_VERSION@
> -Libs: -L@libdir@ -ltirpc
> +Libs: -L${libdir} -ltirpc
>  Libs.private: -lpthread
> -Cflags: -I@includedir@/tirpc
> +Cflags: -I${includedir}/tirpc
> 




[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux