#95

build/meson: remove workaround, revise exports

OpenmochaaPwants to merge intofrom
  • build/meson: remove msvc b_lto workaround tracked in https://github.com/mesonbuild/meson/pull/15357

  • build/meson: revise exports split export static and shared meson targets under the same name (no longer needed to manually -DZYCORE_STATIC_BUILD in downstream projects) make pkgconfig optional export predef cflags

Activity

6
athre0z10mo ago

Do I understand correctly that we'll have to wait for this to be merged in Meson and rolled out widely before we merge removal of the workaround here?

mochaaP10mo ago

wait for merge - yes, widely rollout - no. lto is an optional feature.

for the exports, I wonder if we can use dllimport all the times when consuming the library. iirc it may add one layer of indirection if linking with static library

mochaaP10mo ago