Add support for armhf

Change-Id: If4dc1e0afd1ef95a4f5aa89fbbeb1045998411bf
diff --git a/debian/postinst b/debian/postinst
index 20c12d8..9a2f15c 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -2,7 +2,9 @@
 
 set -e
 
-ln -sf /usr/lib/aarch64-linux-gnu/libion-android.so.1 /usr/lib/aarch64-linux-gnu/libion-android.so
+ARCH=$(dpkg-architecture -q DEB_HOST_GNU_TYPE)
+
+ln -sf /usr/lib/${ARCH}/libion-android.so.1 /usr/lib/${ARCH}/libion-android.so
 
 #DEBHELPER#
 
diff --git a/debian/rules b/debian/rules
index ac1bd47..04c0a3e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,7 +6,12 @@
 
 LIBION_DESTDIR := $(CURDIR)/debian/tmp/libion-android
 
+ifeq ($(DEB_TARGET_ARCH),arm64)
 CROSS_COMPILE=aarch64-linux-gnu-
+else ifeq ($(DEB_TARGET_ARCH),armhf)
+CROSS_COMPILE=arm-linux-gnueabihf-
+endif
+
 CC=$(CROSS_COMPILE)gcc
 
 %: