mirror of
https://github.com/google/brotli.git
synced 2026-07-08 17:56:58 +00:00
[Feature Request] adding a option to control whether install the executable #485
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @leleliu008 on GitHub (Oct 6, 2023).
Hi, developers.
Could we add a option (like
BROTLI_INSTALL_EXE) to control whether install the executable? I only need a shared library and a static library, I don't need the exectuable. I'm a package manager, I do not use this project as a sub project.@eustas commented on GitHub (Oct 18, 2023):
Sure, why not. Will try to add it soon.
@timlegge commented on GitHub (Nov 2, 2023):
@eustas in particular could the option not build the executable at all. I am maintaining the perl module that links teh libraries. However, brotli.c uses fopen_s and sopen_s and older versions of gcc on windows do not support those functions.
However linking the libraries and testing the perl module works fine if I remove the build of the executable and the applicable tests from the CMakeLists.txt file
@eustas commented on GitHub (Nov 27, 2023):
Should be fixed by #1098
@leleliu008 commented on GitHub (Nov 27, 2023):
@eustas Thanks, I will try it when next release is published.