1
0
mirror of https://github.com/mpv-player/mpv synced 2025-05-11 12:48:36 +00:00

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.
This commit is contained in:
Stefano Pigozzi 2013-01-16 00:31:46 +01:00
parent 07d14bd323
commit 1bbcb15d8e

1
configure vendored
View File

@ -1679,6 +1679,7 @@ echocheck "Mac OS X Bundle file locations"
def_macosx_bundle='#undef CONFIG_MACOSX_BUNDLE' def_macosx_bundle='#undef CONFIG_MACOSX_BUNDLE'
test "$_macosx_bundle" = auto && _macosx_bundle=$_macosx_finder test "$_macosx_bundle" = auto && _macosx_bundle=$_macosx_finder
if test "$_macosx_bundle" = yes ; then if test "$_macosx_bundle" = yes ; then
extra_ldflags="$extra_ldflags -headerpad_max_install_names"
def_macosx_bundle='#define CONFIG_MACOSX_BUNDLE 1' def_macosx_bundle='#define CONFIG_MACOSX_BUNDLE 1'
fi fi
echores "$_macosx_bundle" echores "$_macosx_bundle"