commit 12bd14032cc4a687b4008ae3bad50bf637be3462 Author: Andrew Savchenko Date: Sun Aug 9 18:04:46 2015 +0300 Force pkg-config --static for fbsplash checks Since suspend links with libfbsplashrender statically, static libs should be taken from pkg-config output. Otherwise linking fails with unresolved symbols due to incomplete library list. See Gentoo bug 556954 for details. diff --git a/configure.ac b/configure.ac index 6a8a3b8..5f3adb5 100644 --- a/configure.ac +++ b/configure.ac @@ -237,12 +237,14 @@ if test "${enable_fbsplash}" = "yes"; then CONFIG_FEATURES="${CONFIG_FEATURES} fbsplash" AC_DEFINE([CONFIG_FBSPLASH], [1], [Define if fbsplash enabled]) + PKG_CONFIG="pkg-config --static" PKG_CHECK_MODULES( [FBSPLASH], [libfbsplashrender >= 0.1], , [AC_MSG_ERROR([Required libfbsplashrender was not found])] ) + unset PKG_CONFIG fi if test "${enable_threads}" = "yes"; then