Browse Source

Changed the node-gyp build to use pkg-config

This fixes the build on OSX when installing the dependencies through macports, which puts things in /opt/local
v1.x
John Hurliman 13 years ago
parent
commit
7897bff740
  1. 7
      binding.gyp

7
binding.gyp

@ -43,8 +43,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_pango=="true"', { ['with_pango=="true"', {

Loading…
Cancel
Save