Skip to content

Instantly share code, notes, and snippets.

@angad
Created May 11, 2011 13:17
Show Gist options
  • Save angad/966431 to your computer and use it in GitHub Desktop.
Save angad/966431 to your computer and use it in GitHub Desktop.
libpcap android
#LOCAL_PATH := $(call my-dir)
LOCAL_PATH := ./jni
include $(CLEAR_VARS)
LOCAL_MODULE := libpcap-t
LOCAL_SRC_FILES := libpcap-native.c
LOCAL_C_INCLUDES := $(NDK_ROOT)/external/libpcap
LOCAL_STATIC_LIBRARIES := libpcap
LOCAL_LDLIBS := -ldl -llog
include $(BUILD_SHARED_LIBRARY)
include $(NDK_ROOT)/external/libpcap/Android.mk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment