{
  'targets': [
    {
      'target_name': 'program',
      'type': 'executable',
      'dependencies': [
        'library',
      ],
      'sources': [
        'program.c',
      ],
    },
    {
      'target_name': 'library',
      'type': '<(library)',
      'sources': [
        'library.c',
      ],
    },
  ],
}

{
  'targets': [
    {
      'target_name': 'program',
      'type': 'executable',
      'dependencies': [
        'library',
      ],
      'sources': [
        'program.c',
      ],
    },
    {
      'target_name': 'library',
      'type': '<(library)',
      'sources': [
        'library.c',
      ],
    },
  ],
  'conditions': [
    ['OS=="linux"', {
      'target_defaults': {
        'cflags': ['-m32'],
        'ldflags': ['-m32'],
      },
    }],
  ],
}

Fix the shared library test on Linux; compile and link with -m32. Review URL: http://codereview.chromium.org/165160