xzlwbl / idapython

Automatically exported from code.google.com/p/idapython
Other
0 stars 0 forks source link

[PATCH] build.py improvements for building on linux-x86_64 (patch for rev. 170) #28

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi there,

I just made some small changes to the build.py to make it compile with a
custom 32-bit Python 2.6.1 on my AMD64 Debian.
Since I thought my changes might be beneficial for anyone with a
non-standard environment - they shouldn't hurt everybody else either.
Basically I just added "-m32" to the "g++" command (since IDA is 32-bit on
all Linux builds) and extract the library path from the Python version that
is used to run build.py (namely python_libpath which is already used a few
lines earlier).

Have fun,

-- 
Christian Blichmann

========================================================================
zynamics GmbH  - Address: Grosse Beckstrasse 3, 44787 Bochum, Germany
               - Phone: +49(234) 6 87 07 86 - Fax: +49(201) 55 89 26 01
               - UstId: DE814229418 - Trade Register: HRB 9626
========================================================================

Original issue reported on code.google.com by christian.blichmann%zynamics.com@gtempaccount.com on 2 Apr 2009 at 2:28

Attachments:

GoogleCodeExporter commented 9 years ago
Looks good, applied. Thanks for the patch!

Original comment by gergely.erdelyi on 21 Apr 2009 at 4:49