From 1bbcb15d8ea3c150850e8d2b65b7f283e4d61927 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Wed, 16 Jan 2013 00:31:46 +0100 Subject: [PATCH] osxbundle: add header padding to the binary This avoids install_name_tool to run out of header space when changing the paths to the dylibs. --- configure | 1 + 1 file changed, 1 insertion(+) diff --git a/configure b/configure index f6696398c5..80be109cef 100755 --- a/configure +++ b/configure @@ -1679,6 +1679,7 @@ echocheck "Mac OS X Bundle file locations" def_macosx_bundle='#undef CONFIG_MACOSX_BUNDLE' test "$_macosx_bundle" = auto && _macosx_bundle=$_macosx_finder if test "$_macosx_bundle" = yes ; then + extra_ldflags="$extra_ldflags -headerpad_max_install_names" def_macosx_bundle='#define CONFIG_MACOSX_BUNDLE 1' fi echores "$_macosx_bundle"