From: Félix Piédallu Date: Thu, 23 Nov 2017 17:01:10 +0000 (+0100) Subject: Fix build, links. X-Git-Tag: archive/raspbian/1%0.1.106-3+rpi1^2~15^2~21^2~43 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=9b68ee30df359d7a85b5d31e1622c0190f239dd1;p=babl.git Fix build, links. --- diff --git a/babl/meson.build b/babl/meson.build index 59cb88c..64bffdf 100644 --- a/babl/meson.build +++ b/babl/meson.build @@ -82,4 +82,6 @@ babl = library('babl', include_directories: [ rootInclude, bablBaseInclude], c_args: [ '-DLIBDIR="' + get_option('libdir') + '"', ], cpp_args: [ '-DLIBDIR="' + get_option('libdir') + '"', ], + link_with: [ babl_base, ], + dependencies: [ math, thread, dl, ], ) diff --git a/meson.build b/meson.build index 68aac9c..098e83e 100644 --- a/meson.build +++ b/meson.build @@ -116,8 +116,8 @@ platform_android = host_os.contains('android') path_sep = ( os_win32 ? ';' : ':' ) dirs_sep = ( os_win32 ? '\\' : '/' ) -conf.set('BABL_PATH_SEPARATOR', path_sep) -conf.set('BABL_DIR_SEPARATOR', dirs_sep) +conf.set('BABL_PATH_SEPARATOR', '\'' + path_sep + '\'') +conf.set_quoted('BABL_DIR_SEPARATOR', dirs_sep) ################################################################################ # Extra warnings @@ -218,6 +218,8 @@ else log = [] endif +dl = cc.find_library('dl') + pkgconfig.generate(filebase: 'babl', name: 'babl',