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,
This commit is contained in:
Daniel Mack 2011-05-27 15:33:17 +02:00 committed by Colin Guthrie
parent 6efa693fe7
commit 71e936da58

View 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