tpoechtrager / osxcross

Mac OS X cross toolchain for Linux, FreeBSD, OpenBSD and Android (Termux)
GNU General Public License v2.0
2.85k stars 320 forks source link

Clarify install prefix for osxcross build.sh script #296

Closed mcandre closed 2 years ago

mcandre commented 2 years ago

Can I override the default location for osxcross build.sh script with a INSTALLPREFIX environment variable, similar to the environment variable for build_clang.sh?

tpoechtrager commented 2 years ago

Yes, there is TARGET_DIR.

mcandre commented 2 years ago

Confirmed, this works.

I managed to find this clue by browsing the changelog.

Could we update the README to clarify this environment variable?

I initially tried INSTALLPREFIX, but that appears to be used only for build_clang.sh.

tpoechtrager commented 2 years ago

Yes, the README needs some updating. Feel free to file a PR if you want to.

mcandre commented 2 years ago

Happily!