mirror of
https://github.com/curl/curl.git
synced 2026-08-25 06:03:32 +03:00
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
This commit is contained in:
parent
01b0f1061d
commit
21423497ef
9 changed files with 60 additions and 45 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue