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

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(+)
diff --git a/subprojects/spice-common/common/meson.build b/subprojects/spice-common/common/meson.build
index 7356cc0..5796989 100644
--- a/subprojects/spice-common/common/meson.build
+++ b/subprojects/spice-common/common/meson.build
@@ -180,6 +180,19 @@ if spice_common_generate_server_code
endif
endforeach
+ 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)
+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)