Commit ed13f713 authored by Victorien Le Couviour--Tuffet's avatar Victorien Le Couviour--Tuffet Committed by Thomas Guillem

build: force failed detection of search.h and tdestroy

Fixes build with the NDK 17

Force failed detection of search.h in order to avoid conflicts with vlc_fixups.

Force failed detection of tdestroy so that fixups will declare it. Since tfind
is always available (found) tdestroy compat function will never be built (which
is the wanted behaviour since it is always available too).
parent df297e36
......@@ -545,6 +545,11 @@ else
VLC_LDFLAGS="${VLC_LDFLAGS} -L${NDK_LIB_DIR} -landroid_support"
fi
# always use fixups for search.h and tdestroy
export ac_cv_header_search_h=no
export ac_cv_func_tdestroy=no
export ac_cv_func_tfind=no
if [ ! -e ./config.h -o "$RELEASE" = 1 ]; then
CFLAGS="${VLC_CFLAGS} ${EXTRA_CFLAGS}" \
CXXFLAGS="${VLC_CXXFLAGS} ${EXTRA_CFLAGS} ${EXTRA_CXXFLAGS}" \
......
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