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.

32 lines
1.6 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. --- a/subprojects/spice-common/common/meson.build
  11. +++ b/subprojects/spice-common/common/meson.build
  12. @@ -187,4 +187,17 @@ if spice_common_generate_server_code
  13. spice_common_server_dep = declare_dependency(sources : spice_common_server_dep_sources,
  14. link_with : spice_common_server_lib,
  15. dependencies : spice_common_dep)
  16. +else
  17. + spice_common_server_sources = ['generated_server_marshallers.c', 'generated_server_marshallers.h']
  18. + spice_common_server_sources += ['generated_server_demarshallers.c']
  19. + spice_common_server_dep_sources = ['generated_server_marshallers.c', 'generated_server_marshallers.h']
  20. + spice_common_server_dep_sources += ['generated_server_demarshallers.c']
  21. +
  22. + spice_common_server_lib = static_library('spice-common-server', spice_common_server_sources,
  23. + install : false,
  24. + dependencies : spice_common_dep)
  25. +
  26. + spice_common_server_dep = declare_dependency(sources : spice_common_server_dep_sources,
  27. + link_with : spice_common_server_lib,
  28. + dependencies : spice_common_dep)
  29. endif