From e2f21a2aa2ef1cebf38f2e93daafe4a6ef80d87e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= Date: Sun, 9 Feb 2014 16:09:09 +0100 Subject: [PATCH] Fix detection of DBD modules for multiarch setups. On Debian unstable, the DBD modules are now under /usr/lib/${MULTIARCH}/dbd (where MULTIARCH depends on the architecture). This patch ensures that the DBD modules are correctly detected in that case, using pkg-config. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index fa28a862e69..a900d1785f0 100644 --- a/configure.ac +++ b/configure.ac @@ -604,7 +604,7 @@ then [[GNC_DBD_DIR="$with_dbi_dbd_dir" EXTRA_SEARCH_LIBS=$GNC_DBD_DIR]], [[GNC_DBD_DIR="" - EXTRA_SEARCH_LIBS="/usr/lib/dbd:/usr/lib64/dbd:${libdir}/dbd"]] + EXTRA_SEARCH_LIBS="/usr/lib/dbd:/usr/lib64/dbd:${libdir}/dbd:$(pkg-config --variable=libdir dbi)/dbd"]] ) case $host_os in win32*|mingw*)