--- libsemanage-2.1.6.orig/tests/Makefile
+++ libsemanage-2.1.6/tests/Makefile
@@ -5,7 +5,8 @@
 TESTSRC=../src
 
 # Add the required external object files here:
-LIBS = ../src/libsemanage.a ../../libselinux/src/libselinux.a ../../libsepol/src/libsepol.a
+DEB_HOST_MULTIARCH=$(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+LIBS = ../src/libsemanage.a /usr/lib/$(DEB_HOST_MULTIARCH)/libselinux.a /usr/lib/$(DEB_HOST_MULTIARCH)/libsepol.a
 
 ###########################################################################
 
