From 21423497efe36c70615d0a54e040f76043823345 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Mon, 9 Apr 2012 21:24:16 +0200 Subject: configure: Windows cross-compilation fixes BUILDING_LIBCURL and CURL_STATICLIB are no longer defined in curl_config.h, configure will generate appropriate conditionals so that mentioned symbols get defined and used in Makefiles at compilation time --- src/Makefile.am | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/Makefile.am b/src/Makefile.am index 3e372422f..fb16192e3 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -44,6 +44,11 @@ INCLUDES = -I$(top_builddir)/include/curl \ bin_PROGRAMS = curl +# Mostly for Windows build targets, when using static libcurl +if USE_CPPFLAG_CURL_STATICLIB +AM_CPPFLAGS = -DCURL_STATICLIB +endif + include Makefile.inc # This might hold -Werror -- cgit v1.2.3