From 4f0f215a13ebf7618bfc25b0349b457359407034 Mon Sep 17 00:00:00 2001 From: "Igor V. Kovalenko" Date: Mon, 18 Jan 2021 18:38:19 +0300 Subject: [PATCH] buildsys: autotools: move map-file to src/pulse Part-of: --- configure.ac | 4 ++-- src/Makefile.am | 4 ++-- src/{ => pulse}/map-file | 0 3 files changed, 4 insertions(+), 4 deletions(-) rename src/{ => pulse}/map-file (100%) diff --git a/configure.ac b/configure.ac index 155e5653e..e454cbbf7 100644 --- a/configure.ac +++ b/configure.ac @@ -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. diff --git a/src/Makefile.am b/src/Makefile.am index f45821dda..7d06bfc58 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -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 diff --git a/src/map-file b/src/pulse/map-file similarity index 100% rename from src/map-file rename to src/pulse/map-file