old_contents: {
    'targets': [
      {
        'target_name': 'csound-api',
        'include_dirs': [
          '<!(node -e "require(\'nan\')")'
        ],
        'sources': [
          'src/csound-api.cc'
        ],
        'conditions': [
          ['OS == "mac"', {
            # When creating an Xcode project, this lets Xcode find headers.
            'include_dirs': [
              '/usr/local/include'
            ],
            'libraries': [
              '/usr/local/lib/libcsnd6.6.0.dylib'
            ],
            # This is needed so Boost can find the <atomic> header.
            'xcode_settings': {
              'OTHER_CPLUSPLUSFLAGS': [
                '-stdlib=libc++'
              ],
              'MACOSX_DEPLOYMENT_TARGET': '10.7'
            }
          }],
          ['OS == "linux"', {
            'libraries': [
              '/usr/lib/libcsound64.so'
            ]
          }],
          ['OS == "win"', {
            'defines': [
              # This is needed due to the issue described at
              # https://connect.microsoft.com/VisualStudio/feedback/details/1892487
              '_ENABLE_ATOMIC_ALIGNMENT_FIX',
              # Prevent min and max macros from being defined in windows.h.
              'NOMINMAX'
            ],
            'include_dirs': [
              'C:/Program Files/Csound6_x64/include'
            ],
            'libraries': [
              'C:/Program Files/Csound6_x64/bin/csound64.lib'
            ],
            'msvs_settings': {
              'VCCLCompilerTool': {
                'ExceptionHandling': 1 # /EHsc
              }
            }
          }]
        ]
      }
    ]
  }
  
new_contents: {
    'targets': [
      {
        'target_name': 'csound-api',
        'include_dirs': [
          '<!(node -e "require(\'nan\')")'
        ],
        'sources': [
          'src/csound-api.cc'
        ],
        'conditions': [
          ['OS == "mac"', {
            # When creating an Xcode project, this lets Xcode find headers.
            'include_dirs': [
              '/usr/local/include'
            ],
            'libraries': [
              '/usr/local/lib/libcsnd6.6.0.dylib'
            ],
            # This is needed so Boost can find the <atomic> header.
            'xcode_settings': {
              'OTHER_CPLUSPLUSFLAGS': [
                '-stdlib=libc++'
              ],
              'MACOSX_DEPLOYMENT_TARGET': '10.7'
            }
          }],
          ['OS == "linux"', {
            'libraries': [
              '/usr/local/lib/libcsound64.so'
            ]
          }],
          ['OS == "win"', {
            'defines': [
              # This is needed due to the issue described at
              # https://connect.microsoft.com/VisualStudio/feedback/details/1892487
              '_ENABLE_ATOMIC_ALIGNMENT_FIX',
              # Prevent min and max macros from being defined in windows.h.
              'NOMINMAX'
            ],
            'include_dirs': [
              'C:/Program Files/Csound6_x64/include'
            ],
            'libraries': [
              'C:/Program Files/Csound6_x64/bin/csound64.lib'
            ],
            'msvs_settings': {
              'VCCLCompilerTool': {
                'ExceptionHandling': 1 # /EHsc
              }
            }
          }]
        ]
      }
    ]
  }
  
subject: Change location of Csound library on Linux