--- a/Makefile
+++ b/Makefile
@@ -385,8 +385,8 @@ test/split: test/split.c test/split_test
 test/stack_depth: test/stack_depth.c $(ARLIB)
 	$(CC) $(TEST_CFLAGS) -o $@ test/stack_depth.c $(ARLIB) $(TEST_LDFLAGS)
 
-prefix = /usr/local
-libdir = $(prefix)/lib
+prefix = /usr
+libdir = $(prefix)/lib/$(DEB_HOST_MULTIARCH)
 includedir = $(prefix)/include
 
 install: $(ARLIB) $(SOLIB)
