aboutsummaryrefslogtreecommitdiff
path: root/openssl-sys/build.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* More buildscript tweaksSteven Fackler2016-11-041-1/+1
|
* Improve buildscript logicSteven Fackler2016-11-041-3/+3
|
* Prefer 1.1 when looking for Homebrew installsSteven Fackler2016-10-141-2/+2
|
* Respect osslconf in systestSteven Fackler2016-10-141-0/+3
| | | | | | Also cfg off SSLv3_method, since it's disabled in the OpenSSL that ships with Arch Linux. More such flags can be added on demand - it doesn't seem worth auditing everything for them.
* Add support for OpenSSL 1.1.0Alex Crichton2016-10-121-59/+317
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit is relatively major refactoring of the `openssl-sys` crate as well as the `openssl` crate itself. The end goal here was to support OpenSSL 1.1.0, and lots of other various tweaks happened along the way. The major new features are: * OpenSSL 1.1.0 is supported * OpenSSL 0.9.8 is no longer supported (aka all OSX users by default) * All FFI bindings are verified with the `ctest` crate (same way as the `libc` crate) * CI matrixes are vastly expanded to include 32/64 of all platforms, more OpenSSL version coverage, as well as ARM coverage on Linux * The `c_helpers` module is completely removed along with the `gcc` dependency. * The `openssl-sys` build script was completely rewritten * Now uses `OPENSSL_DIR` to find the installation, not include/lib env vars. * Better error messages for mismatched versions. * Better error messages for failing to find OpenSSL on a platform (more can be done here) * Probing of OpenSSL build-time configuration to inform the API of the `*-sys` crate. * Many Cargo features have been removed as they're now enabled by default. As this is a breaking change to both the `openssl` and `openssl-sys` crates this will necessitate a major version bump of both. There's still a few more API questions remaining but let's hash that out on a PR! Closes #452
* Avoid empty include paths (i.e. cc -I "" ) as they are not supported by GCC. ↵Maximilian Hristache2015-11-281-2/+5
| | | | Fix #311
* Remove unecessary build dependencySteven Fackler2015-11-161-1/+0
|
* Split stuff requiring a shim out to a separate crateSteven Fackler2015-11-161-78/+2
|
* Add metadata for the include dir of opensslAlex Crichton2015-10-131-0/+1
| | | | | If OpenSSL is installed at a nonstandard location dependencies on OpenSSL may want to know where it was found to be installed at.
* Swap order of linking ssl/cryptoAlex Crichton2015-09-011-3/+3
| | | | | | | | | | | | GNU linkers will sometimes aggressively try to strip objects and archives from a linker command line in a left-to-right fashion. When a linker hits an object file that doesn't satisfy any unresolved symbols, it will discard the object and not re-visit it. This means that currently if symbols are depended upon in libssl then some of the dependencies of libssl (in libcrypto) may have already been stripped, causing a link error. By swapping the order of what's linked it reflects the natural flow of dependencies and the linker should figure everything out for us.
* Remove #ifs for same-value shimmed SSL options. Depend on compiler ↵Jethro Beekman2015-07-011-4/+0
| | | | optimization instead.
* Decouple C SSL Option bit flags from Rust versionJethro Beekman2015-07-011-0/+64
| | | | | | | The OpenSSL "SSL_OP_*" flags are in constant flux between different OpenSSL versions. To avoid having to change the Rust definitions, we implement our own numbering system in Rust, and use an automatically-generated C shim to convert the bitflags at runtime.
* Modernize cargo directivesSteven Fackler2015-06-281-4/+5
|
* Don't use pkg-config on windowsSteven Fackler2015-06-281-3/+6
|
* Move macro replicas into C shimSteven Fackler2015-06-271-5/+5
|
* Don't ignore environment variables if building with mingwSimon Mazur2015-06-151-21/+23
|
* Added support for building on Windows with MinGWSimon Mazur2015-06-101-1/+30
|
* Remove MSYSTEM environment variable checka.navrotskiy2015-05-151-1/+1
|
* Add ability to redefine library list via OPENSSL_LIBS environment variable.a.navrotskiy2015-05-071-5/+10
| | | | It's usefull for compiling with MinGW-w64 installed via MSYS2 (https://wiki.qt.io/MSYS2).
* Fixes for Native Client.Richard Diamond2015-04-181-1/+6
|
* Fix doctest errorsSteven Fackler2015-04-021-2/+0
|
* Update to rust masterAlex Crichton2015-03-251-2/+4
|
* Remove usage of unstable features in openssl-sysAlex Crichton2015-03-161-2/+0
|
* Cut down on unstable features in openssl-sysAlex Crichton2015-03-041-1/+1
| | | | | * Move from `old_path` to `path` (leveraging the `fs` feature as well) * Move from `StaticMutex` to `Mutex<()>` as they're dynamically initialized
* Use new path API in buildscriptSteven Fackler2015-02-221-5/+6
|
* Fix warningSteven Fackler2015-02-191-1/+1
|
* Don't use pkg-config if any overrides are passedSteven Fackler2015-02-131-5/+10
|
* Stop hardcoding things in openssl-sys build.rsSteven Fackler2015-02-131-26/+23
| | | | This more properly handles Windows builds as well as cross compiles.
* Ask openssl what version it isSteven Fackler2015-02-131-14/+4
|
* Oops, pass include dirs through for 1.0.0 versions tooSteven Fackler2015-02-131-2/+2
|
* Fix shim buildsSteven Fackler2015-02-131-3/+0
| | | | gcc-rs adds the proper link commands for us
* Pass include directories to gccSteven Fackler2015-02-121-13/+15
|
* Make it saferbombless2015-02-131-1/+1
|
* Fix Windows buildbombless2015-02-131-1/+1
|
* Fix for upstream changeSteven Fackler2015-02-121-1/+1
|
* Merge pull request #160 from globin/fix/rustupSteven Fackler2015-02-121-3/+3
|\ | | | | rustup to current master
| * rustup to current masterRobin Gloster2015-02-121-3/+3
| |
* | Move BSD special case after pkg-config lookupsSteven Fackler2015-02-121-11/+14
|/ | | | Also give a better error message if we couldn't find anything
* Merge pull request #159 from wg/masterSteven Fackler2015-02-121-0/+8
|\ | | | | Fix build on *BSD
| * Add clarifying comment for BSD special caseWill2015-02-121-0/+1
| |
| * Fix build on *BSDWill2015-02-121-0/+7
| |
* | Fix a bad fix :)Quentin Baradat2015-02-111-4/+4
| |
* | Fix the target for windowsQuentin Baradat2015-02-111-9/+8
|/
* Always build shimSteven Fackler2015-02-091-0/+4
|
* Fix builds against 0.9.x OpenSSLSteven Fackler2015-02-081-30/+36
| | | | Namely builds on OSX
* Fix deprecation warnings in openssl-sysSteven Fackler2015-02-051-6/+7
|
* Move openssl-sys build.rsSteven Fackler2015-02-031-0/+43