From d1ace4c97fca80957688acb0b6bae4ab48b31174 Mon Sep 17 00:00:00 2001 From: Pekka Paalanen Date: Tue, 9 Jul 2019 11:56:05 +0300 Subject: [PATCH] backend-rdp: 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: libweston/backend-rdp/13a5658@@rdp-backend@sha/rdp.c.o: in function `rdp_peer_context_new': /home/pq/build/weston-meson/../../git/weston/libweston/backend-rdp/rdp.c:748: undefined reference to `Stream_New' /usr/bin/ld: libweston/backend-rdp/13a5658@@rdp-backend@sha/rdp.c.o: in function `rdp_peer_context_free': /home/pq/build/weston-meson/../../git/weston/libweston/backend-rdp/rdp.c:781: undefined reference to `Stream_Free' /usr/bin/ld: libweston/backend-rdp/13a5658@@rdp-backend@sha/rdp.c.o: in function `xf_input_keyboard_event': /home/pq/build/weston-meson/../../git/weston/libweston/backend-rdp/rdp.c:1220: undefined reference to `GetVirtualKeyCodeFromVirtualScanCode' /usr/bin/ld: /home/pq/build/weston-meson/../../git/weston/libweston/backend-rdp/rdp.c:1224: undefined reference to `GetKeycodeFromVirtualKeyCode' /usr/bin/ld: libweston/backend-rdp/13a5658@@rdp-backend@sha/rdp.c.o: in function `weston_backend_init': /home/pq/build/weston-meson/../../git/weston/libweston/backend-rdp/rdp.c:1469: undefined reference to `winpr_InitializeSSL' See also #262 Signed-off-by: Pekka Paalanen --- libweston/backend-rdp/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/libweston/backend-rdp/meson.build b/libweston/backend-rdp/meson.build index e33fe4cc0..237cd0a7a 100644 --- a/libweston/backend-rdp/meson.build +++ b/libweston/backend-rdp/meson.build @@ -31,6 +31,7 @@ plugin_rdp = shared_library( include_directories: common_inc, dependencies: deps_rdp, name_prefix: '', + override_options: [ 'b_lundef=false' ], install: true, install_dir: dir_module_libweston )