mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-11 13:30:02 -05:00
Merge branch 'master' of git://gitorious.org/~flameeyes/pulseaudio/flameeyes-pulseaudio
This commit is contained in:
commit
909dc093a5
2 changed files with 10 additions and 1 deletions
|
|
@ -119,6 +119,15 @@ dnl other linkes might be added later
|
|||
CC_CHECK_LDFLAGS([-Wl,-z,now], [IMMEDIATE_LDFLAGS="-Wl,-z,now"])
|
||||
AC_SUBST([IMMEDIATE_LDFLAGS])
|
||||
|
||||
dnl On ELF systems we don't want the libraries to be unloaded since we
|
||||
dnl don't clean them up properly, so we request the nodelete flag to be
|
||||
dnl enabled.
|
||||
dnl
|
||||
dnl On other systems, we don't really know how to do that, but it's
|
||||
dnl welcome if somebody can tell.
|
||||
CC_CHECK_LDFLAGS([-Wl,-z,nodelete], [NODELETE_LDFLAGS="-Wl,-z,nodelete"])
|
||||
AC_SUBST([NODELETE_LDFLAGS])
|
||||
|
||||
dnl Check for the proper way to build libraries that have no undefined
|
||||
dnl symbols; on some hosts this needs to be avoided but the macro
|
||||
dnl takes care of it.
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ AM_CFLAGS = \
|
|||
|
||||
AM_LIBADD = $(PTHREAD_LIBS) $(INTLLIBS)
|
||||
AM_LDADD = $(PTHREAD_LIBS) $(INTLLIBS)
|
||||
AM_LDFLAGS = -Wl,-z,nodelete
|
||||
AM_LDFLAGS = $(NODELETE_LDFLAGS)
|
||||
|
||||
if STATIC_BINS
|
||||
BINLDFLAGS = -static
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue