gyp: fix build with dtrace support on FreeBSD

Fix undefined reference to `gelf_getsym`... and other undefined symbols
from libelf, by adding `-lelf` to linker options on FreeBSD.
This commit is contained in:
Fedor Indutny
2013-01-20 19:23:35 +04:00
parent 3d67f89552
commit e2592cc6a3

View File

@@ -223,6 +223,9 @@
}],
],
}],
['OS=="freebsd" and node_use_dtrace=="true"', {
'libraries': [ '-lelf' ],
}]
],
}
}