From 699d89c92f8766b8e065abadaadb208e404dea36 Mon Sep 17 00:00:00 2001 From: Pekka Paalanen Date: Tue, 9 Jul 2019 11:53:14 +0300 Subject: [PATCH] cms-colord: work around unresolved symbols This is preparation for disallowing unresolved symbols project-wide. This is a temporary fix that should be reverted and fixed properly later. /usr/bin/ld: compositor/fb12c4d@@cms-colord@sha/cms-helper.c.o: in function `weston_cms_set_color_profile': /home/pq/build/weston-meson/../../git/weston/compositor/cms-helper.c:79: undefined reference to `cmsReadTag' /usr/bin/ld: /home/pq/build/weston-meson/../../git/weston/compositor/cms-helper.c:91: undefined reference to `cmsEvalToneCurveFloat' /usr/bin/ld: /home/pq/build/weston-meson/../../git/weston/compositor/cms-helper.c:92: undefined reference to `cmsEvalToneCurveFloat' /usr/bin/ld: /home/pq/build/weston-meson/../../git/weston/compositor/cms-helper.c:93: undefined reference to `cmsEvalToneCurveFloat' /usr/bin/ld: compositor/fb12c4d@@cms-colord@sha/cms-helper.c.o: in function `weston_cms_destroy_profile': /home/pq/build/weston-meson/../../git/weston/compositor/cms-helper.c:108: undefined reference to `cmsCloseProfile' /usr/bin/ld: compositor/fb12c4d@@cms-colord@sha/cms-helper.c.o: in function `weston_cms_load_profile': /home/pq/build/weston-meson/../../git/weston/compositor/cms-helper.c:131: undefined reference to `cmsOpenProfileFromFile' See also #263 Signed-off-by: Pekka Paalanen --- compositor/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/compositor/meson.build b/compositor/meson.build index c638919c..d29e43ab 100644 --- a/compositor/meson.build +++ b/compositor/meson.build @@ -149,6 +149,7 @@ if get_option('color-management-colord') include_directories: common_inc, dependencies: plugin_colord_deps, name_prefix: '', + override_options: [ 'b_lundef=false' ], install: true, install_dir: dir_module_weston )