Andres Garcia made the examples build fine on Windows (mingw + msys) when

the lib was built staticly.
This commit is contained in:
Daniel Stenberg 2007-11-17 10:22:44 +00:00
parent 2b15823dab
commit bff962398d
3 changed files with 12 additions and 1 deletions

View file

@ -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