Skip to content

Commit

Permalink
Merge pull request #212 from jhurliman/patch-1
Browse files Browse the repository at this point in the history
Changed the node-gyp build to use pkg-config
  • Loading branch information
tj committed Feb 15, 2013
2 parents b3a1247 + 7897bff commit e7a2bb8
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,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_freetype=="true"', {
Expand Down Expand Up @@ -123,4 +126,4 @@
]
}
]
}
}

0 comments on commit e7a2bb8

Please sign in to comment.