mirror of
https://github.com/curl/curl.git
synced 2026-07-15 22:47:17 +03:00
base64: drop BUILDING_CURL macro, always include in tests/server
Before this patch, building tests/server (or curl with winbuild) was broken in rare builds when many features were explicitly disabled. Fix it by enabling base64 functions unconditionally when building for anything other than libcurl. Closes #16691
This commit is contained in:
parent
07f984a776
commit
c0a70c564d
3 changed files with 1 additions and 3 deletions
|
|
@ -32,7 +32,7 @@
|
|||
!defined(CURL_DISABLE_POP3) || \
|
||||
!defined(CURL_DISABLE_IMAP) || \
|
||||
!defined(CURL_DISABLE_DIGEST_AUTH) || \
|
||||
!defined(CURL_DISABLE_DOH) || defined(USE_SSL) || defined(BUILDING_CURL)
|
||||
!defined(CURL_DISABLE_DOH) || defined(USE_SSL) || !defined(BUILDING_LIBCURL)
|
||||
#include "curl/curl.h"
|
||||
#include "warnless.h"
|
||||
#include "curl_base64.h"
|
||||
|
|
|
|||
|
|
@ -22,7 +22,6 @@
|
|||
#
|
||||
###########################################################################
|
||||
set(EXE_NAME curl)
|
||||
set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS "BUILDING_CURL")
|
||||
|
||||
set(_curl_cfiles_gen "")
|
||||
set(_curl_hfiles_gen "")
|
||||
|
|
|
|||
|
|
@ -51,7 +51,6 @@ bin_PROGRAMS = curl
|
|||
if USE_CPPFLAG_CURL_STATICLIB
|
||||
AM_CPPFLAGS += -DCURL_STATICLIB
|
||||
endif
|
||||
AM_CPPFLAGS += -DBUILDING_CURL
|
||||
|
||||
AM_LDFLAGS =
|
||||
if USE_UNICODE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue