summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2013-01-16 00:31:46 +0100
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2013-01-16 22:16:28 +0100
commit1bbcb15d8ea3c150850e8d2b65b7f283e4d61927 (patch)
tree5ff6a6d039fae55de74951038158815309a45df3 /configure
parent07d14bd323dcf8f2da565655aaa009583d296d95 (diff)
downloadmpv-1bbcb15d8ea3c150850e8d2b65b7f283e4d61927.tar.bz2
mpv-1bbcb15d8ea3c150850e8d2b65b7f283e4d61927.tar.xz
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.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
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"