Skip to content

Added mz_zip_rw.*, mz_strm_split.* files to podspec. Use system bzip2… - #419

Merged
nmoinvaz merged 3 commits into
zlib-ng:devfrom
ShvetsovAndrey:dev
Sep 25, 2019
Merged

nmoinvaz merged 3 commits into
zlib-ng:devfrom
ShvetsovAndrey:dev

Conversation

@ShvetsovAndrey

Copy link
Copy Markdown
Contributor

… for subspec BZIP2.

@nmoinvaz

Copy link
Copy Markdown
Member

@Coeur thoughts?

@nmoinvaz

nmoinvaz commented Sep 19, 2019 •

Copy link
Copy Markdown
Member

I think it might be better to have a BZIP2 and a BZIP2_LIB. So BZIP2 would link the bzip2 files in the minizip repo and BZIP2_LIB would link against the system bz library.

@nmoinvaz
nmoinvaz merged commit 7e7b499 into zlib-ng:dev Sep 25, 2019
@nmoinvaz

Copy link
Copy Markdown
Member

Thanks!

@Coeur

Coeur commented Oct 16, 2019 •

Copy link
Copy Markdown
Collaborator

So, a bit late for the review, but Nathan is right, having two distinct subspecs here is better. In the future, we may change the default_subspecs to use BZIP2_SYSTEM if it works on all platforms (macOS, iOS, ...), but that is something that I haven't analyzed at all.

Regarding mz_zip_rw.* and mz_strm_spli.*, good catch, as I'm definitely using those: https://github.com/ZipArchive/ZipArchive/tree/master/SSZipArchive/minizip

So, all is good in this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants