www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 16656] New: move embedded zlib to a separate library


          Issue ID: 16656
           Summary: move embedded zlib to a separate library
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: code dawg.eu

We'd like to get rid of the embedded zlib in phobos.

As a shared zlib is available on literally any non-Windows OS, we should prefer
using that over statically linking.

For Windows we can integrate a DLL and import library with out binary releases,
similarly to how we handle libcurl. That means someone documents and builds
zlib [¹], we upload the results to downloads.dlang.org/other, and integrate it
with the build script [²][³].

[¹]: https://wiki.dlang.org/Curl_on_Windows

Nov 02 2016