2
0

Compare commits

..

No commits in common. "14679eedb73122ae069fbdee84eb8be03cb8df4b" and "c673e5b638bf09e59e506ad9b998be76ab3dad8b" have entirely different histories.

3 changed files with 8 additions and 10 deletions

View File

@ -83,10 +83,8 @@ else
endif endif
if get_option('unwind') if get_option('unwind')
opt_dep_unwind = dependency('libunwind') dep_unwind = dependency('libunwind')
conf_data.set10('HAVE_LIBUNWIND', true) conf_data.set10('HAVE_LIBUNWIND', true)
else
opt_dep_unwind = dep_not_found
endif endif
if get_option('openssl') if get_option('openssl')

View File

@ -30,7 +30,7 @@ lib_common = library(
include_directories: inc_dir, include_directories: inc_dir,
dependencies: [ dependencies: [
main_deps, main_deps,
opt_dep_unwind, dep_unwind,
lib_crypt, lib_crypt,
lib_kvm, lib_kvm,
], ],

View File

@ -19,7 +19,7 @@ modules = {
}, },
'deflate': { 'deflate': {
'sources': ['mod_deflate.c'], 'sources': ['mod_deflate.c'],
'dependencies': [dep_deflate], 'dependencies': dep_deflate,
}, },
'dirlist': { 'dirlist': {
'sources': ['mod_dirlist.c'], 'sources': ['mod_dirlist.c'],
@ -45,11 +45,11 @@ modules = {
}, },
'lua': { 'lua': {
'sources': ['mod_lua.c'], 'sources': ['mod_lua.c'],
'dependencies': [dep_lua], 'dependencies': dep_lua,
}, },
'memcached': { 'memcached': {
'sources': ['mod_memcached.c'], 'sources': ['mod_memcached.c'],
'dependencies': [opt_dep_lua], 'dependencies': opt_dep_lua,
}, },
'openssl': { 'openssl': {
'sources': ['mod_openssl.c', 'openssl_filter.c'], 'sources': ['mod_openssl.c', 'openssl_filter.c'],
@ -90,9 +90,9 @@ all_modules = []
enabled_modules = [] enabled_modules = []
foreach name, def: modules foreach name, def: modules
mod_deps = def.get('dependencies', []) deps = main_deps + def.get('dependencies', [])
expect_mod = true expect_mod = true
foreach dep: mod_deps foreach dep: deps
if not dep.found() if not dep.found()
expect_mod = false expect_mod = false
endif endif
@ -100,7 +100,7 @@ foreach name, def: modules
mod = shared_module( mod = shared_module(
'mod_' + name, 'mod_' + name,
def['sources'], def['sources'],
dependencies: main_deps + mod_deps, dependencies: main_deps + def.get('dependencies', []),
c_args: def.get('c_args', []), c_args: def.get('c_args', []),
include_directories: inc_dir, include_directories: inc_dir,
install: true, install: true,