Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 737266 | Differences between
and this patch

Collapse All | Expand All

(-)a/meson.build (-8 / +2 lines)
Lines 39-54 cc = meson.get_compiler('c') Link Here
39
39
40
coroutine = get_option('with-coroutine')
40
coroutine = get_option('with-coroutine')
41
41
42
if coroutine == 'auto'
42
coroutine = 'gthread'
43
  if host_machine.system() == 'windows'
44
    coroutine = 'gthread'
45
  else
46
    coroutine = 'ucontext'
47
  endif
48
endif
49
43
50
if coroutine == 'ucontext'
44
if coroutine == 'ucontext'
51
  conf_data.set('WITH_UCONTEXT', true)
45
  conf_data.set('WITH_UCONTEXT', false)
52
elif coroutine != 'gthread'
46
elif coroutine != 'gthread'
53
  error('Unknown coroutine backend')
47
  error('Unknown coroutine backend')
54
endif
48
endif
(-)a/src/meson.build (-9 / +1 lines)
Lines 78-92 gvnc_sources = gvnc_gir_sources + gvnc_marshal + [ Link Here
78
  'vncconnectionblt.h',
78
  'vncconnectionblt.h',
79
]
79
]
80
80
81
if coroutine == 'ucontext'
81
gvnc_sources += 'coroutine_gthread.c'
82
  gvnc_sources += [
83
         'coroutine_ucontext.c',
84
         'continuation.h',
85
         'continuation.c',
86
  ]
87
else
88
  gvnc_sources += 'coroutine_gthread.c'
89
endif
90
82
91
gvnc_link_args = []
83
gvnc_link_args = []
92
if meson.get_compiler('c').has_link_argument('-Wl,--no-undefined')
84
if meson.get_compiler('c').has_link_argument('-Wl,--no-undefined')

Return to bug 737266