Skip to content

Commit

Permalink
Changed the node-gyp build to use pkg-config
Browse files Browse the repository at this point in the history
This fixes the build on OSX when installing the dependencies through macports, which puts things in /opt/local
  • Loading branch information
jhurliman committed Sep 5, 2012
1 parent 6527af5 commit 7897bff
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -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"', {
Expand Down

0 comments on commit 7897bff

Please sign in to comment.