]> code.delx.au - pulseaudio/commitdiff
osx: pass -headerpad_max_install_names to the linker, too
authorDaniel Mack <zonque@gmail.com>
Fri, 27 May 2011 13:33:17 +0000 (15:33 +0200)
committerColin Guthrie <colin@mageia.org>
Mon, 30 May 2011 10:26:09 +0000 (11:26 +0100)
This option won't make it to the actual libtool command which does the
linking when not prefixed with -Wl,

src/Makefile.am

index d4f595c7e1e0e523e9c9df9ed57d06ae53880c41..4990ac35f39711c672632e5b77efe4766a712f47 100644 (file)
@@ -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