mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
build-sys: Use absolute path for map-file while linking
This makes the link process more robust in some stranger configurations.
This commit is contained in:
parent
30d6303abf
commit
c55648ce6c
1 changed files with 2 additions and 2 deletions
|
|
@ -168,8 +168,8 @@ AS_CASE([" $CFLAGS "], [*" -O0 "*], [], [AX_APPEND_FLAG(["-DFASTPATH"], [CPPFLAG
|
|||
# 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=$(srcdir)/map-file'])
|
||||
AX_CHECK_LINK_FLAG(["-Wl,-version-script=${abs_top_srcdir}/src/map-file"],
|
||||
[VERSIONING_LDFLAGS='-Wl,-version-script=$(abs_top_srcdir)/map-file'])
|
||||
AC_SUBST([VERSIONING_LDFLAGS])
|
||||
|
||||
# Use immediate (now) bindings; avoids the funky re-call in itself.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue