From 71e936da586c5605b5c678f5f952264ae240d6f2 Mon Sep 17 00:00:00 2001 From: Daniel Mack Date: Fri, 27 May 2011 15:33:17 +0200 Subject: [PATCH] osx: pass -headerpad_max_install_names to the linker, too 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 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index d4f595c..4990ac3 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 -- 2.7.4