Merge "imgdiff: Generate statically linked imgdiff." am: 680d783ecc
am: a83b798c57
* commit 'a83b798c57e10301bca4486ca42e0cabaee5d188':
imgdiff: Generate statically linked imgdiff.
Change-Id: Ib51333ea8a0d3d533777198a58ea987af31ebed4
diff --git a/applypatch/Android.mk b/applypatch/Android.mk
index a15ac02..7b46c59 100644
--- a/applypatch/Android.mk
+++ b/applypatch/Android.mk
@@ -97,5 +97,6 @@
libdivsufsort64 \
libdivsufsort \
libz
-LOCAL_FORCE_STATIC_EXECUTABLE := true
+LOCAL_NO_FPIE := true
+LOCAL_LDFLAGS := -static
include $(BUILD_HOST_EXECUTABLE)