Skip to content

Commit

Permalink
Fix detection of DBD modules for multiarch setups.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
svillemot authored and gjanssens committed Feb 17, 2014
1 parent 1dfbd60 commit e2f21a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Expand Up @@ -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*)
Expand Down

0 comments on commit e2f21a2

Please sign in to comment.