From 533a3def9f300a2c4cd6f5baa303e6e6f2ae0e14 Mon Sep 17 00:00:00 2001 From: Max Kellermann <max@musicpd.org> Date: Fri, 17 Aug 2018 17:04:56 +0200 Subject: [PATCH] Makefile.am: add missing $(CURL_CFLAGS) and $(EXPAT_CFLAGS) Fixes problems with the Windows build because `-DCURL_STATICLIB` was missing, causing error messages like: "undefined reference to `__imp_curl_slist_free_all'" --- Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.am b/Makefile.am index 3ed0c73a8..efbe11dfd 100644 --- a/Makefile.am +++ b/Makefile.am @@ -737,6 +737,8 @@ libstorage_a_SOURCES = \ src/storage/FileInfo.hxx libstorage_a_CPPFLAGS = $(AM_CPPFLAGS) \ + $(CURL_CFLAGS) \ + $(EXPAT_CFLAGS) \ $(NFS_CFLAGS) \ $(SMBCLIENT_CFLAGS)