Ticket #1927: patch-tools-build-v2-tools-darwin.jam

File patch-tools-build-v2-tools-darwin.jam, 757 bytes (added by andrew@…, 14 years ago)

add header padding to the dylib

Line 
1--- tools/build/v2/tools/darwin.jam.orig 2008-05-02 11:18:11.000000000 -0700
2+++ tools/build/v2/tools/darwin.jam 2008-05-02 11:18:41.000000000 -0700
3@@ -206,7 +206,7 @@
4
5 actions link.dll bind LIBRARIES
6 {
7- $(CONFIG_COMMAND) -dynamiclib -install_name "$(<:B)$(<:S)" -L"$(LINKPATH)" -o "$(<)" "$(>)" "$(LIBRARIES)" -l$(FINDLIBS-SA) -l$(FINDLIBS-ST) $(FRAMEWORK_PATH) -framework$(_)$(FRAMEWORK:D=:S=) $(OPTIONS) $(USER_OPTIONS)
8+ $(CONFIG_COMMAND) -headerpad_max_install_names -dynamiclib -install_name "$(<:B)$(<:S)" -L"$(LINKPATH)" -o "$(<)" "$(>)" "$(LIBRARIES)" -l$(FINDLIBS-SA) -l$(FINDLIBS-ST) $(FRAMEWORK_PATH) -framework$(_)$(FRAMEWORK:D=:S=) $(OPTIONS) $(USER_OPTIONS)
9 }
10
11 # We use libtool instead of ar to support universal binary linking