build: Always use pkg-config

pull/764/head
Hennadii Stepanov 5 years ago
parent 9e2e753b06
commit e9edbe4dbd
No known key found for this signature in database
GPG Key ID: 410108112E7EA81F

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

Loading…
Cancel
Save