mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
pulse-server: compile extensions separately
Avoid including other C source files. Compile them separately.
This commit is contained in:
parent
b78371f702
commit
80ae688cc6
6 changed files with 30 additions and 10 deletions
|
|
@ -25,15 +25,9 @@
|
|||
#include <spa/utils/defs.h>
|
||||
#include <spa/utils/string.h>
|
||||
|
||||
#include "defs.h"
|
||||
#include "extension.h"
|
||||
|
||||
static int do_extension_device_manager(struct client *client, uint32_t tag, struct message *m)
|
||||
{
|
||||
return -ENOTSUP;
|
||||
}
|
||||
|
||||
#include "extensions/ext-device-restore.c"
|
||||
#include "extensions/ext-stream-restore.c"
|
||||
#include "extensions/registry.h"
|
||||
|
||||
static const struct extension extensions[] = {
|
||||
{ "module-stream-restore", 0 | EXTENSION_FLAG, do_extension_stream_restore, },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue