pkg-config fails to find package under sysroot directory
Anders Feder
anders at feder.dk
Thu Feb 9 17:54:37 PST 2012
Hi,
Can anyone please tell me why this might fail:
|afeder at ubuntu:~/android/toolchain/sysroot$ ls
$PKG_CONFIG_SYSROOT_DIR/usr/local/lib/pkgconfig/mozjs185.pc
/home/afeder/android/toolchain/sysroot/usr/local/lib/pkgconfig/mozjs185.pc
afeder at ubuntu:~/android/toolchain/sysroot$ pkg-config mozjs185 --cflags
Package mozjs185 was not found in the pkg-config search path.
Perhaps you should add the directory containing `mozjs185.pc'
to the PKG_CONFIG_PATH environment variable
No package 'mozjs185' found
|
According to the man page of pkg-config,|/usr/local/lib/pkgconfig|is
supposed to be one of the default search paths, so I assume I should
/not/ have to add it to PKG_CONFIG_PATH?
Thank you.
Anders Feder
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pkg-config/attachments/20120210/9027862d/attachment.html>
More information about the pkg-config
mailing list