# HG changeset patch # User Anirudha Bose # Date 1379791243 -19800 # Node ID b25bac22a2782ae71a1f7a1c1d949c3e6034b9a8 # Parent df242658d93d014f9f55be4dbadaf1f21ecb90b4 darwin_files/standalone.py: Add information about the assumed location of MXE directory diff --git a/darwin_files/standalone.py b/darwin_files/standalone.py --- a/darwin_files/standalone.py +++ b/darwin_files/standalone.py @@ -22,6 +22,10 @@ ## * Shared libraries like libcholmod.so, libumfpack.so, and others which end with .so ## extension are not assigned any path in the Mach-O headers during compilation. This is ## likely to happen while using MXE. This script can fix such errors too. +## * The script assumes that the path to MXE directory starts with "/Users...". For example, the MXE +## directory can be located in a place like "/Users/mac6-user1/mxe/mxe-octave-anirudha/". +## The Mach-O headers which point to System libraries or libraries belonging to Macports are +## ignored. from __future__ import print_function from macholib.MachO import MachO