summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Mack <zonque@gmail.com>2011-05-27 15:33:17 +0200
committerColin Guthrie <colin@mageia.org>2011-05-30 11:26:09 +0100
commit71e936da586c5605b5c678f5f952264ae240d6f2 (patch)
tree97499e283e8d7ddb4901646bd00b638ce74f8253
parent6efa693fe7628b74cb0d97af03fba55b0b4b9d0d (diff)
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,
-rw-r--r--src/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index d4f595c7..4990ac35 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