build: Always use pkg-config

This commit is contained in:
Hennadii Stepanov 2020-03-09 20:17:11 +02:00
parent 9e2e753b06
commit e9edbe4dbd
No known key found for this signature in database
GPG key ID: 410108112E7EA81F

View file

@ -576,10 +576,6 @@ AC_ARG_WITH([daemon],
use_pkgconfig=yes
case $host in
*mingw*)
dnl pkgconfig does more harm than good with MinGW
use_pkgconfig=no
TARGET_OS=windows
AC_CHECK_LIB([kernel32], [GetModuleFileNameA],, AC_MSG_ERROR(libkernel32 missing))
AC_CHECK_LIB([user32], [main],, AC_MSG_ERROR(libuser32 missing))