Skip to content
This repository has been archived by the owner on Sep 24, 2019. It is now read-only.

Add option to build the bzip2 library, only #29

Merged
merged 1 commit into from
Apr 4, 2019
Merged

Add option to build the bzip2 library, only #29

merged 1 commit into from
Apr 4, 2019

Conversation

neobrain
Copy link
Contributor

@neobrain neobrain commented Apr 3, 2019

When building for embedded systems, compiling bzip2.c will generally fail due to lack of full POSIX support. The library, libbz2, compiles just fine though, so making the executable part optional enables the library to be used on more platforms.

The new option controls whether to build the bzip2 executable or not. It's called "bzip2:build_executable" and is enabled by default (hence preserving current behavior).

This is my first attempt at modifying a Conan recipe, so I didn't put much thought into polishing and instead wanted to make sure this patch is going in the right direction. I'll happily make adjustments if it's fine though!

@SSE4 SSE4 merged commit 643110c into conan-community:release/1.0.6 Apr 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants