internals:windows:libs:libcurl
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
internals:windows:libs:libcurl [2008/08/24 14:12] – pajoye | internals:windows:libs:libcurl [2017/09/22 13:28] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 6: | Line 6: | ||
===== Available prebuilt libraries ===== | ===== Available prebuilt libraries ===== | ||
- | All prebuilt libraries are available | + | All prebuilt libraries are available |
===== Requirements ===== | ===== Requirements ===== | ||
- | * CURL sources | + | * CURL sources, patched, available in [[https:// |
* OpenSSL binaries and development files | * OpenSSL binaries and development files | ||
+ | * Libssh2 binaries and development files | ||
* Zlib binaries and development files | * Zlib binaries and development files | ||
* Create a clean build tree without the classic php dependencies in ..\..\deps but only the required deps (ssl and zlib). Having curl headers in your include path is likely to break the build | * Create a clean build tree without the classic php dependencies in ..\..\deps but only the required deps (ssl and zlib). Having curl headers in your include path is likely to break the build | ||
Line 17: | Line 18: | ||
===== Configuration ===== | ===== Configuration ===== | ||
+ | See https:// | ||
+ | Example release build command line: | ||
- | + | | |
- | + | ||
- | + | Note that php is always using a dynamic openssl runtime. Even when using WITH_SSL=static, openssl dlls are required. | |
- | ===== Compilation ===== | + | |
- | + | ||
- | To build the library, go to the lib directory and call the makefile with the desired options: | + | |
- | + | ||
- | <code bash> | + | |
- | cd C: | + | |
- | </ | + | |
- | + | ||
- | + | ||
- | Example for a Visual C++ 2005 (VC8): | + | |
- | + | ||
- | Compilation x64, release | + | |
- | <code bash> | + | |
- | nmake /f Makefile.vc8 cfg=release-ssl-zlib ZLIB_PATH=c: | + | |
- | </ | + | |
- | + | ||
- | Compilation x86, release | + | |
- | <code bash> | + | |
- | nmake /f Makefile.vc8 cfg=release-ssl-zlib ZLIB_PATH=c: | + | |
- | </ | + | |
- | + | ||
- | Compilation x86, Debug | + | |
- | <code bash> | + | |
- | nmake /f Makefile.vc8 cfg=debug-ssl-zlib ZLIB_PATH=c: | + | |
- | </ | + | |
- | + | ||
- | Compilation x64, Debug | + | |
- | <code bash> | + | |
- | nmake /f Makefile.vc8 cfg=debug-ssl-zlib ZLIB_PATH=c: | + | |
- | </ | + |
internals/windows/libs/libcurl.1219587172.txt.gz · Last modified: 2017/09/22 13:28 (external edit)