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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Colin, could you pick this one?

Thanks :)

Daniel


On Fri, May 27, 2011 at 3:33 PM, Daniel Mack <zonque at gmail.com> wrote:
> 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
>
>



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux