diff options
author | Daniel Stenberg <daniel@haxx.se> | 2007-11-17 10:22:44 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2007-11-17 10:22:44 +0000 |
commit | bff962398d0f572b4ea689053e020080565944d5 (patch) | |
tree | 3b799b6dc60b90d59f58b4875b0cc622a9fc97fa /docs/examples | |
parent | 2b15823dab89d504eee57bf91f3757a90ab3497b (diff) |
Andres Garcia made the examples build fine on Windows (mingw + msys) when
the lib was built staticly.
Diffstat (limited to 'docs/examples')
-rw-r--r-- | docs/examples/Makefile.am | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/docs/examples/Makefile.am b/docs/examples/Makefile.am index 9127c3d5a..73383131e 100644 --- a/docs/examples/Makefile.am +++ b/docs/examples/Makefile.am @@ -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 |