mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
osx: add -headerpad_max_install_names to LDFLAGS
This is needed for sufficient padding of library names in linked binaries.
This commit is contained in:
parent
249384c7a2
commit
00d96c04dc
1 changed files with 4 additions and 0 deletions
|
|
@ -78,6 +78,10 @@ AM_LDFLAGS+=-Wl,--export-all-symbols,--enable-auto-import -no-undefined
|
|||
WINSOCK_LIBS=-lwsock32 -lws2_32 -lwininet
|
||||
endif
|
||||
|
||||
if OS_IS_DARWIN
|
||||
AM_LDFLAGS+=-headerpad_max_install_names
|
||||
endif
|
||||
|
||||
FOREIGN_CFLAGS = -w
|
||||
MODULE_LDFLAGS = $(AM_LDFLAGS) -module -disable-static -avoid-version $(LDFLAGS_NOUNDEFINED)
|
||||
MODULE_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue