Skip to content

Commit

Permalink
Merge pull request JustinTulloss#135 from ichernev/pkg-config-support
Browse files Browse the repository at this point in the history
Added support for pkg-config
  • Loading branch information
tj committed Aug 6, 2012
2 parents 4d7930e + cb29ef0 commit 9ebda28
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion binding.gyp
Expand Up @@ -18,7 +18,15 @@
'libraries': [
'-L/opt/local/lib'
]
}]
}],
['OS=="linux"', {
'cflags': [
'<!(pkg-config libzmq --cflags 2>/dev/null || echo "")',
],
'libraries': [
'<!(pkg-config libzmq --libs 2>/dev/null || echo "")',
],
}],
]
}
]
Expand Down

0 comments on commit 9ebda28

Please sign in to comment.