[Bug 19695] New: [PATCH] Build fails with swig in non-standard location

Bug ID 19695
Summary [PATCH] Build fails with swig in non-standard location
Product lldb
Version unspecified
Hardware PC
OS Linux
Status NEW
Severity normal
Priority P
Component All Bugs
Assignee lldb-dev@cs.uiuc.edu
Reporter fmatthew5876@gmail.com
Classification Unclassified

Created attachment 12496 [details]
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 <[fmatthew5876@gmail.com](mailto:fmatthew5876@gmail.com)>

labath@google.com changed bug 19695

What | Removed | Added |

  • | - | - |
    Status | NEW | RESOLVED |
    CC | | labath@google.com |
    Resolution | — | FIXED |

Comment # 1 on bug 19695 from labath@google.com

works now.