mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-14 06:59:53 -05:00
Check for support of -z nodelete LD flag, don't use it unconditionally.
On non-GNU, non-Sun linkers, the -z option is often not understood; make sure that the -z nodelete option is usable before making use of it. Unbreaks build on Mac OS X.
This commit is contained in:
parent
7e4509f9e5
commit
673112b192
2 changed files with 10 additions and 1 deletions
|
|
@ -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