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 \
###################################
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
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