Commit 8f71f55d authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf
Browse files

Configure Obj-C to fail with partial-availability

This is quite drastic but will avoid some silent failures on old OS X
versions, like 10.7
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <>
parent b3a22f5a
......@@ -159,7 +159,7 @@ case "${host_os}" in
CXX="${CXX} -stdlib=libc++ -std=c++11"
OBJCFLAGS="${OBJCFLAGS} -D_INTL_REDIRECT_MACROS -std=gnu11 ${ARCH_flag} -Werror=partial-availability"
LDFLAGS="${LDFLAGS} -Wl,-headerpad_max_install_names ${ARCH_flag}"
VLC_ADD_LIBS([libvlc vlc],[-Wl,-undefined,dynamic_lookup,-framework,AppKit])
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment