Commit Graph

2 Commits

Author SHA1 Message Date
Theodore Tsirpanis
109d286a0c
[libmagic] Explicitly toggle features. (#37459)
Libmagic supports some compression libraries that by default are enabled
unpredictably, if they are found in the system. This PR adds features to
the port that enable support for these compression libraries, and makes
sure the features are disabled if not specified.

Validated by building the port with all features enabled on Windows and
Linux, and importing it in a project with static library linkage on
Windows.
2024-03-18 14:29:10 -07:00
Long Nguyen
a29126f785
[tre, libmagic] Windows + mingw support (#17769)
* [tre] mingw support

* [libmagic] Windows support

* [libmagic] Apply @Neumann-A suggestions

* [libmagic] Add host dependency

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>

* [libmagic] Copy the magic file to the corresponding tools dir

* [ci baseline] libmagic now passes

* Update ports/libmagic/portfile.cmake

* [libmagic] Import patch from MSYS2

* [vcpkg baseline] Update libmagic, tre

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com>
2021-05-28 10:09:56 -07:00