android: Link with libc++fs up to SDK 35
Before SDK35 the c++ filesystem API was part of a standalone library Reviewed-by: Mauro Rossi <issor.oruam@gmail.com> Backport-to: 25.1 Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34797>
This commit is contained in:
committed by
Marge Bot
parent
033ce1bae1
commit
84cae30f0a
@@ -51,6 +51,11 @@ LOCAL_HEADER_LIBRARIES := libnativebase_headers hwvulkan_headers
|
||||
MESON_GEN_PKGCONFIGS := log cutils expat hardware libdrm:$(LIBDRM_VERSION) nativewindow sync zlib:1.2.11 libelf
|
||||
LOCAL_CFLAGS += $(BOARD_MESA3D_CFLAGS)
|
||||
|
||||
ifeq ($(shell test $(PLATFORM_SDK_VERSION) -lt 35; echo $$?), 0)
|
||||
# Before SDK35 the c++ filesystem API was part of a standalone library
|
||||
LOCAL_STATIC_LIBRARIES += libc++fs
|
||||
endif
|
||||
|
||||
ifneq ($(filter swrast,$(BOARD_MESA3D_GALLIUM_DRIVERS) $(BOARD_MESA3D_VULKAN_DRIVERS)),)
|
||||
ifeq ($(BOARD_MESA3D_FORCE_SOFTPIPE),)
|
||||
MESON_GEN_LLVM_STUB := true
|
||||
|
||||
Reference in New Issue
Block a user