Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试在 Android NDK 中添加对 freetype2 的支持。
我已经成功构建了库,但我应该如何将它包含在 Android.mk 文件中?
在一开始的时候:
include $(CLEAR_VARS) LOCAL_MODULE := libFreeType LOCAL_SRC_FILES := jni/$(TARGET_ARCH_ABI)/libFreeType.a include $(PREBUILT_STATIC_LIBRARY)
稍后的:
LOCAL_STATIC_LIBRARIES += FreeType