mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-10 13:29:58 -05:00
padsp: Move the padsp helper lib into a private library
libpulsedsp is only used as a LD_PRELOAD library for the padsp wrapper. So no need to have it in a public library
This commit is contained in:
parent
cea6e16516
commit
a96390d865
2 changed files with 13 additions and 4 deletions
|
|
@ -87,7 +87,7 @@ EXTRA_DIST = \
|
|||
daemon/esdcompat.in \
|
||||
daemon/start-pulseaudio-x11.in \
|
||||
daemon/start-pulseaudio-kde.in \
|
||||
utils/padsp \
|
||||
utils/padsp.in \
|
||||
utils/qpaeq \
|
||||
modules/module-defs.h.m4 \
|
||||
daemon/pulseaudio.desktop.in \
|
||||
|
|
@ -762,8 +762,17 @@ libpulse_mainloop_glib_la_LDFLAGS = $(AM_LDFLAGS) $(VERSIONING_LDFLAGS) -version
|
|||
###################################
|
||||
|
||||
if HAVE_OSS_WRAPPER
|
||||
lib_LTLIBRARIES += libpulsedsp.la
|
||||
pkglib_LTLIBRARIES += libpulsedsp.la
|
||||
bin_SCRIPTS += utils/padsp
|
||||
|
||||
edit = @sed \
|
||||
-e "s|@pkglibdir[@]|$(pkglibdir)|g"
|
||||
|
||||
utils/padsp: utils/padsp.in
|
||||
$(edit) $< >$@
|
||||
|
||||
CLEANFILES += utils/padsp
|
||||
|
||||
endif
|
||||
|
||||
libpulsedsp_la_SOURCES = utils/padsp.c
|
||||
|
|
|
|||
4
src/utils/padsp → src/utils/padsp.in
Executable file → Normal file
4
src/utils/padsp → src/utils/padsp.in
Executable file → Normal file
|
|
@ -76,9 +76,9 @@ done
|
|||
shift $(( $OPTIND - 1 ))
|
||||
|
||||
if [ x"$LD_PRELOAD" = x ] ; then
|
||||
LD_PRELOAD="libpulsedsp.so"
|
||||
LD_PRELOAD="@pkglibdir@/libpulsedsp.so"
|
||||
else
|
||||
LD_PRELOAD="$LD_PRELOAD libpulsedsp.so"
|
||||
LD_PRELOAD="$LD_PRELOAD @pkglibdir@/libpulsedsp.so"
|
||||
fi
|
||||
|
||||
export LD_PRELOAD
|
||||
Loading…
Add table
Add a link
Reference in a new issue