build: fix dragonflybsd gyp build

Depends on a not-yet-landed gyp patch: https://codereview.chromium.org/11348152/
This commit is contained in:
Ben Noordhuis 2012-11-20 02:38:01 +01:00
parent d8a8379751
commit fc5984fb45

4
uv.gyp
View File

@ -201,7 +201,7 @@
],
},
}],
[ 'OS=="freebsd"', {
[ 'OS=="freebsd" or OS=="dragonflybsd"', {
'sources': [ 'src/unix/freebsd.c' ],
'link_settings': {
'libraries': [
@ -220,7 +220,7 @@
],
},
}],
[ 'OS=="mac" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd"', {
[ 'OS in "mac freebsd dragonflybsd openbsd netbsd".split()', {
'sources': [ 'src/unix/kqueue.c' ],
}],
['library=="shared_library"', {