3
0
Fork 0

Add missing linking flag for uuid and rt.

Those libraries are used by xapian, so it should be declare there.
But for now, add the link in our compile script as we still want to compile.
small_fixes
Matthieu Gautier 9 years ago
parent dc6c9d618f
commit 4aba306d68

@ -55,7 +55,17 @@ else
ctpp2_dep = declare_dependency(include_directories:ctpp2_include_path, link_args:link_args)
endif
all_deps = [thread_dep, kiwixlib_dep, microhttpd_dep, ctpp2_dep, z_dep]
# This is a temporary workaround until xapian fix it's xapian-core.pc
# For a correct dependency checking we should test if uuid is really installed
# but for a workaround, we assume that in xapian is installed, uuid also.
if meson.is_cross_build() and host_machine.system() == 'windows'
# xapian doesn't use uuid on windows.
uuid_dep = declare_dependency()
else
uuid_dep = declare_dependency(link_args:['-luuid', '-lrt'])
endif
all_deps = [thread_dep, kiwixlib_dep, microhttpd_dep, ctpp2_dep, z_dep, uuid_dep]
#subdir('include')
subdir('static')

Loading…
Cancel
Save