tpoechtrager / osxcross

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

OSXCROSS_HOST is used instead of OSXCROSS_TARGET in the CMake toolchain file #358

Open Username404-59 opened 2 years ago

Username404-59 commented 2 years ago

At line 17, there is a "OSXCROSS_TARGET" variable, however, at lines 24-25 (and 39-41) OSXCROSS_HOST is used for the targets so I assume this is a mistake?

Flow86 commented 1 year ago

another observation: the toolchain file is also ignored, since its only shell exported, but not given to cmake via -DCMAKE_TOOLCHAIN_FILE in the cmake wrapper (ah an addition to this: this needs a specific cmake version to work)