Changeset 14fb15f


Ignore:
Timestamp:
Mar 1, 2013, 9:05:24 PM (11 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
714d05e, 9f6e4c5
Parents:
13ceb9d
Message:

setup.py: only link against frameworks on darwin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/setup.py

    r13ceb9d r14fb15f  
    33from distutils.core import setup, Extension
    44from generator import generate_object_files
     5import sys
    56import os.path
    67import numpy
     
    3132        include_dirs = include_dirs + [ numpy.get_include() ],
    3233        library_dirs = library_dirs,
    33         extra_link_args = ['-framework','CoreFoundation', '-framework','AudioToolbox'],
    3434        libraries=['aubio'])
     35
     36if sys.platform.startswith('darwin'):
     37        aubio_extension.extra_link_args = ['-framework','CoreFoundation', '-framework','AudioToolbox']
    3538
    3639classifiers = [
Note: See TracChangeset for help on using the changeset viewer.