mirror of
https://github.com/curl/curl.git
synced 2026-08-25 18:23:44 +03:00
Andres Garcia made the examples build fine on Windows (mingw + msys) when
the lib was built staticly.
This commit is contained in:
parent
2b15823dab
commit
bff962398d
3 changed files with 12 additions and 1 deletions
|
|
@ -9,7 +9,13 @@ EXTRA_DIST = README Makefile.example makefile.dj $(COMPLICATED_EXAMPLES)
|
|||
INCLUDES = -I$(top_srcdir)/include
|
||||
|
||||
LIBDIR = $(top_builddir)/lib
|
||||
CPPFLAGS = -DCURL_NO_OLDIES
|
||||
|
||||
if STATICLIB
|
||||
# we need this define when building with a static lib on Windows
|
||||
STATICCPPFLAGS = -DCURL_STATICLIB
|
||||
endif
|
||||
|
||||
CPPFLAGS = -DCURL_NO_OLDIES $(STATICCPPFLAGS)
|
||||
|
||||
# Dependencies
|
||||
LDADD = $(LIBDIR)/libcurl.la
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue