Browse Source

libeio and http_parser build with PIC code

Fix building as a shared library

Closes GH-708.
v0.7.4-release
Aria Stewart 14 years ago
committed by Ryan Dahl
parent
commit
fd713e1dc7
  1. 2
      deps/libeio/wscript
  2. 2
      wscript

2
deps/libeio/wscript

@ -125,5 +125,7 @@ def build(bld):
libeio.install_path = None
if bld.env["USE_DEBUG"]:
libeio.clone("debug");
if Options.options.product_type != 'program':
libeio.ccflags = "-fPIC"
bld.install_files('${PREFIX}/include/node/', 'eio.h');

2
wscript

@ -619,6 +619,8 @@ def build(bld):
http_parser.install_path = None
if bld.env["USE_DEBUG"]:
http_parser.clone("debug")
if product_type_is_lib:
http_parser.ccflags = '-fPIC'
### src/native.cc
def make_macros(loc, content):

Loading…
Cancel
Save