diff --git a/vars/libzip.vars b/vars/libzip.vars
index c2c659f..da6fe2e 100644
--- a/vars/libzip.vars
+++ b/vars/libzip.vars
@@ -40,9 +40,9 @@ pkg_libzip_host_configure() {
 	*)		exit 1; ;;
 	esac;
 	rm -f config.cache;
-	env	PREFIX="" LDFLAGS="-lbz2"					\
+	env	PREFIX="" LDFLAGS="-L${PKG_PREFIX}/lib -lbz2 -lfts"		\
 	cmake	-DCMAKE_BUILD_TYPE="${_build_type}"				\
-		-DCMAKE_C_STANDARD_LIBRARIES="-lbz2"				\
+		-DCMAKE_C_STANDARD_LIBRARIES="-lbz2 -lfts"			\
 		-DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY			\
 		-DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=NEVER			\
 		-DCMAKE_INSTALL_PREFIX=						\