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
if get_option('unwind')
opt_dep_unwind = dependency('libunwind')
dep_unwind = dependency('libunwind')
conf_data.set10('HAVE_LIBUNWIND', true)
else
opt_dep_unwind = dep_not_found
endif
if get_option('openssl')

View File

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

View File

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