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 12 years ago
parent
commit
7897bff740
  1. 7
      binding.gyp

7
binding.gyp

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

Loading…
Cancel
Save