public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* json-c.pc seems incorrect in libjson-c-devel-0.16-1
@ 2023-08-29  2:35 Daisuke Fujimura
  0 siblings, 0 replies; only message in thread
From: Daisuke Fujimura @ 2023-08-29  2:35 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-08-29  2:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-29  2:35 json-c.pc seems incorrect in libjson-c-devel-0.16-1 Daisuke Fujimura

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).