<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    I figured it out - I need to set PKG_CONFIG_LIBDIR. Cheers.<br>
    <br>
    On 10-02-2012 02:54, Anders Feder wrote:
    <blockquote cite="mid:4F3478DD.9020100@feder.dk" type="cite">
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      <div class="post-text" itemprop="description" style="margin-top:
        0px; margin-right: 5px; margin-bottom: 5px; margin-left: 0px;
        padding-top: 0px; padding-right: 0px; padding-bottom: 0px;
        padding-left: 0px; border-top-width: 0px; border-right-width:
        0px; border-bottom-width: 0px; border-left-width: 0px;
        border-style: initial; border-color: initial; border-image:
        initial; font-size: 14px; vertical-align: baseline;
        background-image: initial; background-attachment: initial;
        background-origin: initial; background-clip: initial;
        background-color: rgb(255, 255, 255); width: 660px; line-height:
        18px; color: rgb(0, 0, 0); font-family: Arial, 'Liberation
        Sans', 'DejaVu Sans', sans-serif; font-style: normal;
        font-variant: normal; font-weight: normal; letter-spacing:
        normal; orphans: 2; text-align: left; text-indent: 0px;
        text-transform: none; white-space: normal; widows: 2;
        word-spacing: 0px; -webkit-text-size-adjust: auto;
        -webkit-text-stroke-width: 0px; background-position: initial
        initial; background-repeat: initial initial; ">
        <p style="margin: 0px 0px 1em; padding: 0px; border-width: 0px;
          font-size: 14px; vertical-align: baseline; background-color:
          transparent; clear: both; word-wrap: break-word;">Hi,<br>
        </p>
        <p style="margin-top: 0px; margin-right: 0px; margin-bottom:
          1em; margin-left: 0px; padding-top: 0px; padding-right: 0px;
          padding-bottom: 0px; padding-left: 0px; border-top-width: 0px;
          border-right-width: 0px; border-bottom-width: 0px;
          border-left-width: 0px; border-style: initial; border-color:
          initial; border-image: initial; font-size: 14px;
          vertical-align: baseline; background-image: initial;
          background-attachment: initial; background-origin: initial;
          background-clip: initial; background-color: transparent;
          clear: both; word-wrap: break-word; background-position:
          initial initial; background-repeat: initial initial; ">Can
          anyone please tell me why this might fail:</p>
        <code>afeder@ubuntu:~/android/toolchain/sysroot$ ls
          $PKG_CONFIG_SYSROOT_DIR/usr/local/lib/pkgconfig/mozjs185.pc<br>
/home/afeder/android/toolchain/sysroot/usr/local/lib/pkgconfig/mozjs185.pc<br>
          <br>
          afeder@ubuntu:~/android/toolchain/sysroot$ pkg-config mozjs185
          --cflags<br>
          Package mozjs185 was not found in the pkg-config search path.<br>
          Perhaps you should add the directory containing `mozjs185.pc'<br>
          to the PKG_CONFIG_PATH environment variable<br>
          No package 'mozjs185' found<br>
          <br>
        </code>
        <p style="margin: 0px 0px 1em; padding: 0px; border-width: 0px;
          font-size: 14px; vertical-align: baseline; background-color:
          transparent; clear: both; word-wrap: break-word;">According to
          the man page of pkg-config,<span class="Apple-converted-space">&nbsp;</span><code
            style="margin-top: 0px; margin-right: 0px; margin-bottom:
            0px; margin-left: 0px; padding-top: 1px; padding-right: 5px;
            padding-bottom: 1px; padding-left: 5px; border-top-width:
            0px; border-right-width: 0px; border-bottom-width: 0px;
            border-left-width: 0px; border-style: initial; border-color:
            initial; border-image: initial; font-size: 14px;
            vertical-align: baseline; background-image: initial;
            background-attachment: initial; background-origin: initial;
            background-clip: initial; background-color: rgb(238, 238,
            238); font-family: Consolas, Menlo, Monaco, 'Lucida
            Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream
            Vera Sans Mono', 'Courier New', monospace, serif;
            background-position: initial initial; background-repeat:
            initial initial; ">/usr/local/lib/pkgconfig</code><span
            class="Apple-converted-space">&nbsp;</span>is supposed to be one
          of the default search paths, so I assume I should <i>not</i>
          have to add it to PKG_CONFIG_PATH?<br>
        </p>
        <p style="margin: 0px 0px 1em; padding: 0px; border-width: 0px;
          font-size: 14px; vertical-align: baseline; background-color:
          transparent; clear: both; word-wrap: break-word;">Thank you.<br>
        </p>
        <p style="margin-top: 0px; margin-right: 0px; margin-bottom:
          1em; margin-left: 0px; padding-top: 0px; padding-right: 0px;
          padding-bottom: 0px; padding-left: 0px; border-top-width: 0px;
          border-right-width: 0px; border-bottom-width: 0px;
          border-left-width: 0px; border-style: initial; border-color:
          initial; border-image: initial; font-size: 14px;
          vertical-align: baseline; background-image: initial;
          background-attachment: initial; background-origin: initial;
          background-clip: initial; background-color: transparent;
          clear: both; word-wrap: break-word; background-position:
          initial initial; background-repeat: initial initial; ">Anders
          Feder<br>
        </p>
      </div>
      <br class="Apple-interchange-newline">
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
pkg-config mailing list
<a class="moz-txt-link-abbreviated" href="mailto:pkg-config@lists.freedesktop.org">pkg-config@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/pkg-config">http://lists.freedesktop.org/mailman/listinfo/pkg-config</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>