Browse Source

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.
v0.9.8-release
Fedor Indutny 12 years ago
parent
commit
e2592cc6a3
  1. 3
      common.gypi

3
common.gypi

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

Loading…
Cancel
Save