user898722
user898722

Reputation: 139

Android ndk freetype2

I'm trying to add freetype2 support in Android NDK.

I've successfully build the library, but how should I include it in Android.mk file?

Upvotes: 5

Views: 1256

Answers (1)

Sergey K.
Sergey K.

Reputation: 25396

In the beginning:

include $(CLEAR_VARS)
LOCAL_MODULE    := libFreeType
LOCAL_SRC_FILES := jni/$(TARGET_ARCH_ABI)/libFreeType.a
include $(PREBUILT_STATIC_LIBRARY)

Later on:

LOCAL_STATIC_LIBRARIES += FreeType

Upvotes: 1

Related Questions