use BUILD_SHARED_LIBS to control whether a library is shared or static, make our bundled physfs library check for this configuration
MISC_DIR := $(call my-dir)
LOCAL_PATH := MISC_DIR
include $(MISC_DIR)/libfreetype/Android.mk
include $(MISC_DIR)/liblua/Android.mk
include $(MISC_DIR)/libtremor/Android.mk
include $(MISC_DIR)/libphysfs/Android.mk
include $(MISC_DIR)/libphyslayer/Android.mk