public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Daisuke Fujimura <booleanlabel@gmail.com>
To: cygwin@cygwin.com
Subject: json-c.pc seems incorrect in libjson-c-devel-0.16-1
Date: Tue, 29 Aug 2023 11:35:02 +0900	[thread overview]
Message-ID: <CAA3frXRAxEYF4tN3vgaMyiqJRYdhi8DX4KCTjhTG9e5s9vu7Ng@mail.gmail.com> (raw)

The variables appear to be set to the path of the compiled environment.

$ cygcheck -cd libjson-c-devel
Cygwin Package Information
Package              Version
libjson-c-devel      0.16-1

$ cat /usr/lib/pkgconfig/json-c.pc
prefix=/pub/devel/json-c/json-c-0.16-1.x86_64/inst/usr
exec_prefix=/pub/devel/json-c/json-c-0.16-1.x86_64/inst/usr
libdir=/pub/devel/json-c/json-c-0.16-1.x86_64/inst/usr/lib
includedir=/pub/devel/json-c/json-c-0.16-1.x86_64/inst/usr/include

Name: json-c
Description: A JSON implementation in C
Version: 0.16
Requires:
Libs.private:
Libs: -L${libdir} -ljson-c
Cflags: -I${includedir} -I${includedir}/json-c

$ pkg-config --libs json-c
-L/pub/devel/json-c/json-c-0.16-1.x86_64/inst/usr/lib -ljson-c

$ ls /pub/devel/json-c/json-c-0.16-1.x86_64/inst/usr/lib
ls: cannot access
'/pub/devel/json-c/json-c-0.16-1.x86_64/inst/usr/lib': No such file or
directory

                 reply	other threads:[~2023-08-29  2:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAA3frXRAxEYF4tN3vgaMyiqJRYdhi8DX4KCTjhTG9e5s9vu7Ng@mail.gmail.com \
    --to=booleanlabel@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).