You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1.8 KiB

  1. From 0ce9cecd0912f78b75600f3f428bdd943bf9622b Mon Sep 17 00:00:00 2001
  2. From: Rosen Penev <rosenp@gmail.com>
  3. Date: Fri, 9 Oct 2020 04:19:01 -0700
  4. Subject: [PATCH] don't regenerate [de]marshallers
  5. The release tarballs already include these files.
  6. Signed-off-by: Rosen Penev <rosenp@gmail.com>
  7. ---
  8. subprojects/spice-common/common/meson.build | 13 +++++++++++++
  9. 1 file changed, 13 insertions(+)
  10. diff --git a/subprojects/spice-common/common/meson.build b/subprojects/spice-common/common/meson.build
  11. index 7356cc0..5796989 100644
  12. --- a/subprojects/spice-common/common/meson.build
  13. +++ b/subprojects/spice-common/common/meson.build
  14. @@ -180,6 +180,19 @@ if spice_common_generate_server_code
  15. endif
  16. endforeach
  17. + spice_common_server_lib = static_library('spice-common-server', spice_common_server_sources,
  18. + install : false,
  19. + dependencies : spice_common_dep)
  20. +
  21. + spice_common_server_dep = declare_dependency(sources : spice_common_server_dep_sources,
  22. + link_with : spice_common_server_lib,
  23. + dependencies : spice_common_dep)
  24. +else
  25. + spice_common_server_sources = ['generated_server_marshallers.c', 'generated_server_marshallers.h']
  26. + spice_common_server_sources += ['generated_server_demarshallers.c']
  27. + spice_common_server_dep_sources = ['generated_server_marshallers.c', 'generated_server_marshallers.h']
  28. + spice_common_server_dep_sources += ['generated_server_demarshallers.c']
  29. +
  30. spice_common_server_lib = static_library('spice-common-server', spice_common_server_sources,
  31. install : false,
  32. dependencies : spice_common_dep)