<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [PATCH] Build fails with swig in non-standard location"
   href="http://llvm.org/bugs/show_bug.cgi?id=19695">19695</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[PATCH] Build fails with swig in non-standard location
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>lldb
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>All Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>lldb-dev@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>fmatthew5876@gmail.com
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=12496" name="attach_12496" title="Patch to fix the swig script">attachment 12496</a> <a href="attachment.cgi?id=12496&action=edit" title="Patch to fix the swig script">[details]</a></span>
Patch to fix the swig script

Hello, the build-swig-wrapper-classes.sh script has a bug in that it will only
use either /usr/bin/swig or /usr/local/bin/swig, even if there is another swig
available in PATH.

I was trying to build lldb in a custom environment which had a newer version of
swig installed in a non-standard location. My build was failing until I used
the attached patch.

Patch signed off by: Matthew Fioravante <<a href="mailto:fmatthew5876@gmail.com">fmatthew5876@gmail.com</a>></pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>