Last active
March 1, 2018 02:02
-
-
Save basharam/9511931 to your computer and use it in GitHub Desktop.
Link prebuilt static library Android
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Link prebuilt static library Android | |
LOCAL_PATH := $(call my-dir) | |
include $(CLEAR_VARS) | |
#run scipt | |
#ECHO_RESULT := $(info $(shell ($(LOCAL_PATH)/testscript.sh))) | |
LOCAL_MODULE := NameLib1 | |
LOCAL_C_INCLUDES :=$(LOCAL_PATH)/testfolder | |
LOCAL_SRC_FILES := location of /libNameLib1.a | |
include $(PREBUILT_STATIC_LIBRARY) | |
include $(CLEAR_VARS) | |
LOCAL_MODULE := NameLib2 | |
LOCAL_CPP_EXTENSION := .cpp | |
LOCAL_SRC_FILES := file1.cpp \ | |
file2.cpp | |
LOCAL_STATIC_LIBRARIES= NameLib1 | |
LOCAL_CFLAGS := -DANDROID=1 -fpermissive -fexceptions | |
LOCAL_C_INCLUDES += $(LOCAL_PATH)/testfolder | |
include $(BUILD_STATIC_LIBRARY) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment