File: link_libnode.patch

package info (click to toggle)
node-gyp 11.4.0%2B~5.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,368 kB
  • sloc: python: 24,953; javascript: 5,133; lisp: 258; cs: 186; ansic: 46; cpp: 29; sh: 23; makefile: 7
file content (18 lines) | stat: -rw-r--r-- 400 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Link to node shared lib on debian
Last-Update: 2019-01-01
Forwarded: not-needed
Author: Jérémy Lal <kapouer@melix.org>
--- a/addon.gypi
+++ b/addon.gypi
@@ -199,6 +199,11 @@
          (OS=="linux")', {
         'cflags': [ '-fPIC' ],
       }],
+      [ 'OS in "linux freebsd openbsd netbsd solaris"', {
+        'libraries': [
+          '-lnode'
+        ],
+      }]
     ]
   }
 }