Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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.
  • Loading branch information...
commit e2592cc6a3b17b36ba11e2ca191f8ea875161d52 1 parent 3d67f89
Fedor Indutny authored

Showing 1 changed file with 3 additions and 0 deletions. Show diff stats Hide diff stats

  1. +3 0  common.gypi
3  common.gypi
@@ -223,6 +223,9 @@
223 223 }],
224 224 ],
225 225 }],
  226 + ['OS=="freebsd" and node_use_dtrace=="true"', {
  227 + 'libraries': [ '-lelf' ],
  228 + }]
226 229 ],
227 230 }
228 231 }

0 comments on commit e2592cc

Please sign in to comment.
Something went wrong with that request. Please try again.