|
From 0ce9cecd0912f78b75600f3f428bdd943bf9622b Mon Sep 17 00:00:00 2001
|
|
From: Rosen Penev <rosenp@gmail.com>
|
|
Date: Fri, 9 Oct 2020 04:19:01 -0700
|
|
Subject: [PATCH] don't regenerate [de]marshallers
|
|
|
|
The release tarballs already include these files.
|
|
|
|
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
|
---
|
|
subprojects/spice-common/common/meson.build | 13 +++++++++++++
|
|
1 file changed, 13 insertions(+)
|
|
|
|
--- a/subprojects/spice-common/common/meson.build
|
|
+++ b/subprojects/spice-common/common/meson.build
|
|
@@ -187,4 +187,17 @@ if spice_common_generate_server_code
|
|
spice_common_server_dep = declare_dependency(sources : spice_common_server_dep_sources,
|
|
link_with : spice_common_server_lib,
|
|
dependencies : spice_common_dep)
|
|
+else
|
|
+ spice_common_server_sources = ['generated_server_marshallers.c', 'generated_server_marshallers.h']
|
|
+ spice_common_server_sources += ['generated_server_demarshallers.c']
|
|
+ spice_common_server_dep_sources = ['generated_server_marshallers.c', 'generated_server_marshallers.h']
|
|
+ spice_common_server_dep_sources += ['generated_server_demarshallers.c']
|
|
+
|
|
+ spice_common_server_lib = static_library('spice-common-server', spice_common_server_sources,
|
|
+ install : false,
|
|
+ dependencies : spice_common_dep)
|
|
+
|
|
+ spice_common_server_dep = declare_dependency(sources : spice_common_server_dep_sources,
|
|
+ link_with : spice_common_server_lib,
|
|
+ dependencies : spice_common_dep)
|
|
endif
|