mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-17 06:59:56 -05:00
ladspa-sink: fix Windows compilation
The macro LADSPA_PATH was defined as a list of directories quoted but without taking into account that the directory names, specially on Windows, can contain backslashes that need escaping. This patch removes the quoted from the macro and uses the C preprocessor to quote it properly using a helper macro.
This commit is contained in:
parent
79ee19bb51
commit
8c22cd54de
2 changed files with 9 additions and 2 deletions
|
|
@ -1752,7 +1752,7 @@ module_remap_source_la_LDFLAGS = $(MODULE_LDFLAGS)
|
|||
module_remap_source_la_LIBADD = $(MODULE_LIBADD)
|
||||
|
||||
module_ladspa_sink_la_SOURCES = modules/module-ladspa-sink.c modules/ladspa.h
|
||||
module_ladspa_sink_la_CFLAGS = -DLADSPA_PATH=\"$(libdir)/ladspa:/usr/local/lib/ladspa:/usr/lib/ladspa:/usr/local/lib64/ladspa:/usr/lib64/ladspa\" $(AM_CFLAGS) $(SERVER_CFLAGS)
|
||||
module_ladspa_sink_la_CFLAGS = -DLADSPA_PATH="$(libdir)/ladspa:/usr/local/lib/ladspa:/usr/lib/ladspa:/usr/local/lib64/ladspa:/usr/lib64/ladspa" $(AM_CFLAGS) $(SERVER_CFLAGS)
|
||||
module_ladspa_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
|
||||
module_ladspa_sink_la_LIBADD = $(MODULE_LIBADD) $(LIBLTDL)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue