[pulseaudio-discuss] [PATCH] osx: pass -headerpad_max_install_names to the linker, too

Daniel Mack zonque at gmail.com
Fri May 27 06:33:17 PDT 2011


This option won't make it to the actual libtool command which does the
linking when not prefixed with -Wl,
---
 src/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index 23d809d..881f806 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -81,7 +81,7 @@ WINSOCK_LIBS=-lwsock32 -lws2_32 -lwininet
 endif
 
 if OS_IS_DARWIN
-AM_LDFLAGS+=-headerpad_max_install_names
+AM_LDFLAGS+=-Wl,-headerpad_max_install_names -headerpad_max_install_names
 endif
 
 FOREIGN_CFLAGS = -w
-- 
1.7.2




More information about the pulseaudio-discuss mailing list