buildsys: autotools: move map-file to src/pulse

Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/461>
This commit is contained in:
Igor V. Kovalenko 2021-01-18 18:38:19 +03:00 committed by PulseAudio Marge Bot
parent 6d41b93cdb
commit 4f0f215a13
3 changed files with 4 additions and 4 deletions

View file

@ -195,8 +195,8 @@ AS_CASE([" $CFLAGS "], [*" -O0 "*], [], [
# Check whether the linker supports the -version-script option.
# The Make variable $(srcdir) needs to be in the LDFLAGS in that form,
# so that it is expanded the right way in every subdir.
AX_CHECK_LINK_FLAG(["-Wl,-version-script=${srcdir}/src/map-file"],
[VERSIONING_LDFLAGS='-Wl,-version-script=$(abs_top_srcdir)/src/map-file'])
AX_CHECK_LINK_FLAG(["-Wl,-version-script=${srcdir}/src/pulse/map-file"],
[VERSIONING_LDFLAGS='-Wl,-version-script=$(abs_top_srcdir)/src/pulse/map-file'])
AC_SUBST([VERSIONING_LDFLAGS])
# Use immediate (now) bindings; avoids the funky re-call in itself.

View file

@ -107,7 +107,7 @@ EXTRA_DIST = \
utils/qpaeq \
utils/pa-info \
daemon/pulseaudio.desktop.in \
map-file \
pulse/map-file \
daemon/pulseaudio-system.conf \
modules/echo-cancel/adrian-license.txt \
modules/gsettings/org.freedesktop.pulseaudio.gschema.xml \
@ -2277,7 +2277,7 @@ update-map-file:
ctags -I PA_GCC_MALLOC,PA_GCC_ALLOC_SIZE2,PA_GCC_ALLOC_SIZE,PA_GCC_PURE,PA_GCC_CONST,PA_GCC_DEPRECATED,PA_GCC_PRINTF_ATTR -f - --c-kinds=p $(pulseinclude_HEADERS) | awk '/^pa_/ { print $$1 ";" }' | sort ; \
echo "local:" ; \
echo "*;" ; \
echo "};" ) > $(srcdir)/map-file
echo "};" ) > $(srcdir)/pulse/map-file
update-all: update-ffmpeg update-map-file