On Wed, Feb 4, 2015 at 9:16 PM, Liviu Ionescu <i...@livius.net> wrote:
>
> "PKG_CONFIG_LIBDIR
>
> Replaces the default pkg-config search directory.
>
> PKG_CONFIG_PATH
>
> A colon-separated (on Windows, semicolon-separated) list of directories to
> search for .pc files. The default directory will always be searched after
> searching the path; the default is libdir/pkgconfig:datadir/pkgconfig where
> libdir is the libdir where pkg-config and datadir is the datadir where
> pkg-config was installed."
>
> my scripts use PKG_CONFIG_PATH to be sure I fully control the search path,
> to avoid finding anything in the system folders.
>
>
Then it's PKG_CONFIG_LIBDIR you want.
Please also see contrib/cross-build.sh that for the intricacies of cross
building with pkg-config.
/Andreas
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel