diff options
Diffstat (limited to 'docs/examples/Makefile.am')
-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 |