Switch to side-by-side view

--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -27,10 +27,14 @@
 static: mk/sysconf common/rclversion.h
 	cd lib; ${MAKE}
 	cd index; rm -f recollindex; \
-	   ${MAKE} BSTATIC=-Wl,-Bstatic BDYNAMIC=-Wl,-Bdynamic recollindex
+	  ${MAKE} BSTATIC=-Wl,-Bstatic BDYNAMIC=-Wl,-Bdynamic \
+            LIBXAPIANSTATICEXTRA="@LIBXAPIANSTATICEXTRA@" \
+	       recollindex 
 	@NOQTMAKE@cd $(QTGUI); $(QMAKE) recoll.pro; \
 	@NOQTMAKE@ rm -f recoll; \
-	@NOQTMAKE@ ${MAKE} BSTATIC=-Wl,-Bstatic BDYNAMIC=-Wl,-Bdynamic depth=.. 
+	@NOQTMAKE@ ${MAKE} BSTATIC=-Wl,-Bstatic \
+	@NOQTMAKE@   BDYNAMIC=-Wl,-Bdynamic depth=.. \
+	@NOQTMAKE@   LIBXAPIANSTATICEXTRA="@LIBXAPIANSTATICEXTRA@"
 
 clean:
 	-cd common; ${MAKE} clean