Changeset 14fb15f


Ignore:
Timestamp:
Mar 1, 2013, 9:05:24 PM (7 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, 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.