Skip to content

Commit

Permalink
ffmpeg6: use ld_classic hack only on macOS 14
Browse files Browse the repository at this point in the history
  • Loading branch information
barracuda156 authored and mascguy committed Apr 12, 2024
1 parent 5ad3767 commit f839c4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion multimedia/ffmpeg6/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ platform darwin {
# this port requires '-ld_classic' to build successfully with the toolchains from Xcode 15 or Command Line Tools 15.
#
# TODO: This is a temporary solution, the classic linker will be removed in a future release by Apple.
if { ( [vercmp ${xcodeversion} 15 ] >= 0 ) || ( [vercmp ${xcodecltversion} 15 ] >= 0 ) } {
if { ${os.major} == 23 && ( [vercmp ${xcodeversion} 15 ] >= 0 ) || ( [vercmp ${xcodecltversion} 15 ] >= 0 ) } {
configure.ldflags-append \
-Wl,-ld_classic
}
Expand Down

0 comments on commit f839c4b

Please sign in to comment.