Created
February 9, 2014 00:56
-
-
Save invisiblek/8892632 to your computer and use it in GitHub Desktop.
build ts_srv statically linked for tenderloin
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
diff --git a/touchscreen_drv/Android.mk b/touchscreen_drv/Android.mk | |
index 0585c60..f4a1b73 100644 | |
--- a/touchscreen_drv/Android.mk | |
+++ b/touchscreen_drv/Android.mk | |
@@ -15,8 +15,9 @@ LOCAL_CFLAGS:= -g -c -W -Wall -O2 -mtune=cortex-a9 -mfpu=neon -mfloat-abi=softfp | |
LOCAL_C_INCLUDES:= $(kernel_includes) | |
LOCAL_MODULE:=ts_srv | |
LOCAL_MODULE_TAGS:= eng | |
-LOCAL_SHARED_LIBRARIES := liblog | |
+LOCAL_STATIC_LIBRARIES := liblog libc libm | |
LOCAL_LDLIBS := -L$(SYSROOT)/usr/lib -llog | |
+LOCAL_FORCE_STATIC_EXECUTABLE := true | |
include $(BUILD_EXECUTABLE) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment