mirror of
https://github.com/DrBeef/JKXR.git
synced 2024-11-28 15:02:13 +00:00
0b27c1c0e9
Link against the generic Android openxr_loader then load the correct loader library at runtime on start-up
13 lines
401 B
Makefile
13 lines
401 B
Makefile
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := openxr_loader
|
|
|
|
LOCAL_SRC_FILES := lib$(LOCAL_MODULE).so
|
|
|
|
# NOTE: This check is added to prevent the following error when running a "make clean" where
|
|
# the prebuilt lib may have been deleted: "LOCAL_SRC_FILES points to a missing file"
|
|
ifneq (,$(wildcard $(LOCAL_PATH)/$(LOCAL_SRC_FILES)))
|
|
include $(PREBUILT_SHARED_LIBRARY)
|
|
endif
|