コード例 #1
0
def main():
    for fn in os.listdir(LIBVTK):
        path = join(LIBVTK, fn)
        if macho.is_macho(path):
            macho.install_name_change(path, ch_link_libvtk)

    for fn in os.listdir(BIN):
        path = join(BIN, fn)
        if macho.is_macho(path):
            macho.install_name_change(path, ch_link_bin)

    for fn in os.listdir(SP_VTK):
        path = join(SP_VTK, fn)
        if macho.is_macho(path):
            macho.install_name_change(path, ch_link_spvtk)
コード例 #2
0
def main():
    for fn in os.listdir(LIBVTK):
        path = join(LIBVTK, fn)
        if macho.is_macho(path):
            macho.install_name_change(path, ch_link_libvtk)

    for fn in os.listdir(BIN):
        path = join(BIN, fn)
        if macho.is_macho(path):
            macho.install_name_change(path, ch_link_bin)

    for fn in os.listdir(SP_VTK):
        path = join(SP_VTK, fn)
        if macho.is_macho(path):
            macho.install_name_change(path, ch_link_spvtk)
コード例 #3
0
ファイル: post.py プロジェクト: esc24/conda-build
def is_obj(path):
    assert sys.platform != 'win32'
    return bool((sys.platform.startswith('linux') and elf.is_elf(path)) or
                (sys.platform == 'darwin' and macho.is_macho(path)))
コード例 #4
0
def is_obj(path):
    assert sys.platform != 'win32'
    return bool((sys.platform.startswith('linux') and elf.is_elf(path))
                or (sys.platform == 'darwin' and macho.is_macho(path)))
コード例 #5
0
ファイル: post.py プロジェクト: shoyer/conda-build
def is_obj(path):
    assert sys.platform != "win32"
    return bool(
        (sys.platform.startswith("linux") and elf.is_elf(path)) or (sys.platform == "darwin" and macho.is_macho(path))
    )