{
  "targets": [
    {
      "target_name": "bitcoinconsensus",
      "include_dirs" : [
        "<!(node -e \"require('nan')\")"
      ],
      "sources": [
        "bindings.cc"
      ],
      "libraries": [
        '/usr/local/lib/libbitcoinconsensus.so'
      ]
    }
  ]
}
@@ -216,26 +216,10 @@
    '
-/usr/local/lib/lib
+-l
 bitc
@@ -234,11 +234,8 @@
 nsus
-.so
 '%0A  

Use name instead of defining a specific path.