{
  'targets': [
    {
      'target_name': 'bufferutil',
      'sources': ['src/bufferutil.c'],
      'cflags': ['-std=c99'],
      'conditions': [
        ["OS=='mac'", {
          'xcode_settings': {
            'MACOSX_DEPLOYMENT_TARGET': '10.7',
            'OTHER_CFLAGS': ['-arch x86_64', '-arch arm64'],
            'OTHER_LDFLAGS': ['-arch x86_64', '-arch arm64']
          }
        }]
      ]
    }
  ]
}
