1
Description: Use system libeio
2
Allows building against libeio package, ITP#629384
3
THIS PATCH IS NOT APPLIED YET. It will be when libeio is uploaded.
4
Forwarded: no, unsure why would upstream need that kind of patch.
5
Author: Jérémy Lal <kapouer@melix.org>
6
Last-Update: 2011-06-26
10
if not conf.check(lib='kstat', uselib_store="KSTAT"):
11
conf.fatal("Cannot find kstat library")
13
- conf.sub_config('deps/libeio')
14
+ if not conf.check_cxx(lib='eio', header_name='eio.h',
15
+ uselib_store='EIO'):
16
+ conf.fatal("Cannot find libeio")
18
if conf.env['USE_SHARED_V8']:
21
print "Parallel Jobs: " + str(Options.options.jobs)
22
print "Product type: " + product_type
24
- bld.add_subdirs('deps/libeio')
26
if not bld.env['USE_SHARED_V8']: build_v8(bld)
27
if not bld.env['USE_SHARED_LIBEV']: bld.add_subdirs('deps/libev')
29
node = bld.new_task_gen("cxx", product_type)
32
- node.uselib = 'RT EV OPENSSL CARES EXECINFO DL KVM SOCKET NSL KSTAT UTIL OPROFILE'
33
- node.add_objects = 'eio http_parser'
34
+ node.uselib = 'RT EIO EV OPENSSL CARES EXECINFO DL KVM SOCKET NSL KSTAT UTIL OPROFILE'
35
+ node.add_objects = 'http_parser'
36
if product_type_is_lib:
37
node.install_path = '${LIBDIR}'