title: Specifying installed native library paths during pypy translate
body: <p>I am trying to build the latest pypy repo on a Mac machine. One of the needed libraries, libintl, is installed in <code>$HOME/opt/local/lib</code>. I run (using a previously built <code>pypy-c</code>),</p>
  
  <pre><code>pypy-c translate.py -Ojit --ldflags=-L~/opt/local/lib --cflags=-L~/opt/local/lib
  </code></pre>
  
  <p>However, after about half an hour, it stalls with </p>
  
  <pre><code>[translation:ERROR]     ld: library not found for -lintl
  [translation:ERROR]     collect2: ld returned 1 exit status
  [translation:ERROR]     make: *** [pypy-c] Error 1
  [translation:ERROR]     """)
  </code></pre>
  
  <p>So how am I supposed to specify the path for this library? I would assume the same would happen for compiling and executing custom rpython programs.</p>