Created
June 15, 2016 08:37
-
-
Save Nathaniel100/b338c8b3564418c97291c43c5d1774e7 to your computer and use it in GitHub Desktop.
Build libevent as seperate library, Android JNI
This file contains hidden or 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
#################################### | |
# Build libevent as separate library | |
include $(CLEAR_VARS) | |
LOCAL_MODULE:= libevent | |
LOCAL_MODULE_TAGS:= optional | |
LOCAL_SRC_FILES := \ | |
third_party/libevent/event.c \ | |
third_party/libevent/evutil.c \ | |
third_party/libevent/epoll.c \ | |
third_party/libevent/log.c \ | |
third_party/libevent/poll.c \ | |
third_party/libevent/select.c \ | |
third_party/libevent/signal.c | |
LOCAL_C_INCLUDES := \ | |
$(LOCAL_PATH)/third_party/libevent \ | |
$(LOCAL_PATH)/third_party/libevent/android | |
LOCAL_CFLAGS := -DHAVE_CONFIG_H -DANDROID -fvisibility=hidden | |
include $(BUILD_STATIC_LIBRARY) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment