aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Ray <aray@google.com>2014-03-25 19:50:31 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-03-25 19:50:31 +0000
commitb25c2507ecc3f674e3b4f0a770acf9ad8fd874d0 (patch)
tree8b9389a704d7fa3b9430d3e473894ae32004f1f6
parent89b3a3b80fc9ba0377dc55c69125eceb0d25dad3 (diff)
parent42215f99e0bec395497a4887b734f636d06659d4 (diff)
downloadmdnsresponder-idea133-weekly-release.tar.gz
Merge "mdnsd: build static executable"android-l-preview_r2l-previewidea133-weekly-release
-rw-r--r--Android.mk5
1 files changed, 2 insertions, 3 deletions
diff --git a/Android.mk b/Android.mk
index b98d398..efad877 100644
--- a/Android.mk
+++ b/Android.mk
@@ -24,9 +24,8 @@ LOCAL_C_INCLUDES := external/mdnsresponder/mDNSPosix \
external/mdnsresponder/mDNSShared
LOCAL_CFLAGS := -O2 -g -W -Wall -D__ANDROID__ -D_GNU_SOURCE -DHAVE_IPV6 -DNOT_HAVE_SA_LEN -DUSES_NETLINK -DTARGET_OS_LINUX -fno-strict-aliasing -DHAVE_LINUX -DMDNS_DEBUGMSGS=0 -DMDNS_UDS_SERVERPATH=\"/dev/socket/mdnsd\" -DMDNS_USERNAME=\"mdnsr\" -DPLATFORM_NO_RLIMIT
-LOCAL_SYSTEM_SHARED_LIBRARIES := libc
-LOCAL_SHARED_LIBRARIES := libcutils liblog
-
+LOCAL_STATIC_LIBRARIES := libc libcutils liblog
+LOCAL_FORCE_STATIC_EXECUTABLE := true
include $(BUILD_EXECUTABLE)
##########################