Andres Garcia made the examples build fine on Windows (mingw + msys) when
the lib was built staticly.
This commit is contained in:
3
CHANGES
3
CHANGES
@@ -10,6 +10,9 @@ Daniel S (17 Nov 2007)
|
|||||||
- Michal Marek made the test suite remember what test servers that fail to
|
- Michal Marek made the test suite remember what test servers that fail to
|
||||||
start so that subsequent tries are simply skipped.
|
start so that subsequent tries are simply skipped.
|
||||||
|
|
||||||
|
- Andres Garcia made the examples build fine on Windows (mingw + msys) when
|
||||||
|
the lib was built staticly.
|
||||||
|
|
||||||
Daniel S (16 Nov 2007)
|
Daniel S (16 Nov 2007)
|
||||||
- Ates Goral identified a problem in http.c:add_buffer_send() when a debug
|
- Ates Goral identified a problem in http.c:add_buffer_send() when a debug
|
||||||
callback was used, as it could wrongly pass on a bad size for the outgoing
|
callback was used, as it could wrongly pass on a bad size for the outgoing
|
||||||
|
|||||||
@@ -174,6 +174,7 @@ case $host in
|
|||||||
esac
|
esac
|
||||||
AC_MSG_RESULT($mimpure)
|
AC_MSG_RESULT($mimpure)
|
||||||
AM_CONDITIONAL(MIMPURE, test x$mimpure = xyes)
|
AM_CONDITIONAL(MIMPURE, test x$mimpure = xyes)
|
||||||
|
AM_CONDITIONAL(STATICLIB, false)
|
||||||
|
|
||||||
AC_MSG_CHECKING([if we need BUILDING_LIBCURL])
|
AC_MSG_CHECKING([if we need BUILDING_LIBCURL])
|
||||||
case $host in
|
case $host in
|
||||||
@@ -185,6 +186,7 @@ case $host in
|
|||||||
then
|
then
|
||||||
AC_DEFINE(CURL_STATICLIB, 1, [when not building a shared library])
|
AC_DEFINE(CURL_STATICLIB, 1, [when not building a shared library])
|
||||||
AC_MSG_RESULT(yes)
|
AC_MSG_RESULT(yes)
|
||||||
|
AM_CONDITIONAL(STATICLIB, true)
|
||||||
else
|
else
|
||||||
AC_MSG_RESULT(no)
|
AC_MSG_RESULT(no)
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -9,7 +9,13 @@ EXTRA_DIST = README Makefile.example makefile.dj $(COMPLICATED_EXAMPLES)
|
|||||||
INCLUDES = -I$(top_srcdir)/include
|
INCLUDES = -I$(top_srcdir)/include
|
||||||
|
|
||||||
LIBDIR = $(top_builddir)/lib
|
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
|
# Dependencies
|
||||||
LDADD = $(LIBDIR)/libcurl.la
|
LDADD = $(LIBDIR)/libcurl.la
|
||||||
|
|||||||
Reference in New Issue
Block a user