configure.ac: remove -framework,AppKit

Those frameworks only exist for MacOSX, so it was invalid to set them up
in the general case. Fortunately, it wasn't really used on iOS and tvOS
for the executables so it didn't have consequences.

On MacOSX, the targets needing this framework already link it so it is
not needed.
This commit is contained in:
Alexandre Janniaux 2021-05-28 11:26:16 +02:00 committed by Jean-Baptiste Kempf
parent 64bd2e6b55
commit 9262bbc257
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ case "${host_os}" in
AX_APPEND_FLAG([-Werror=partial-availability], [OBJCFLAGS])
AX_APPEND_FLAG([-Wl,-headerpad_max_install_names], [LDFLAGS])
VLC_ADD_LIBS([libvlc vlc],[-Wl,-undefined,dynamic_lookup,-framework,AppKit])
VLC_ADD_LIBS([libvlc vlc],[-Wl,-undefined,dynamic_lookup])
VLC_ADD_LIBS([libvlccore],[-Wl,-framework,CoreFoundation])
AC_EGREP_CPP(yes,