Browse Source

Merge pull request #212 from jhurliman/patch-1

Changed the node-gyp build to use pkg-config
v1.x
TJ Holowaychuk 12 years ago
parent
commit
e7a2bb87e6
  1. 7
      binding.gyp

7
binding.gyp

@ -46,8 +46,11 @@
] ]
}, { # 'OS!="win"' }, { # 'OS!="win"'
'libraries': [ 'libraries': [
'-lpixman-1', '<!@(pkg-config pixman-1 --libs)',
'-lcairo' '<!@(pkg-config cairo --libs)'
],
'include_dirs': [
'<!@(pkg-config cairo --cflags-only-I | sed s/-I//g)'
] ]
}], }],
['with_freetype=="true"', { ['with_freetype=="true"', {

Loading…
Cancel
Save