Allow to specify macos-min-version externally (#3756)

* Allow to specify macos-min-version externally

* update changelog

* add note in documentation for macos version

* spelling fixes
This commit is contained in:
Andrey Pshenkin 2024-10-20 04:09:39 +01:00 committed by GitHub
commit a964be1ada
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 16 additions and 2 deletions

View file

@ -103,6 +103,13 @@ There are [issues](https://github.com/upx/upx/issues/446) with using UPX with Ap
:::
:::info Set minimal version for MacOS
You can override default [minimal version](../gettingstarted/installation#supported-platforms) of macOS for your app by providing version via `CGO_CFLAGS` and `CGO_LDFLAGS` environment variables.
e.g. `CGO_CFLAGS=-mmacosx-version-min=10.15.0 CGO_LDFLAGS=-mmacosx-version-min=10.15.0 wails build`
:::
:::info UPX on Windows
Some Antivirus vendors false positively mark `upx` compressed binaries as virus, see [issue](https://github.com/upx/upx/issues/437).