mirror of
https://github.com/libretro/vbam-libretro.git
synced 2026-11-09 11:51:26 -10:00
Refactor the build environment evaluation, make build variables set immediately so that they don't grow longer on re-evaluations and defer all other variables. Export as many build related variables as possible. Make one more crucial fix for cross builds: run the post_build after LDFLAGS and LIBS are restored, so that this does not interfere with setting and restoring the build environment for host builds. Other changes: - fontconfig 2.13.0 -> 2.13.1 - openal 1.19.0 -> 1.19.1 - set fontconfig configure type to autoreconf, disable tests - disable the openssl parallel build patch, it fails unpredictably, always build openssl with -j1 - configure libicu with --disable-tests and a few other things disabled, the tests cause link issues on mingw i686 - also make a minor fix to libicu makefiles for mingw (replace echo -n with printf) - move $BUILD_ENV evaluation to the builder() main function to defer some variable initializations - add patch for openal to mingw-cross to use gcc instead of cmake to build some native tools it uses, cmake causes issues with cross builds - in host_env()/target_env() defer variable expansion and include a copy of $BUILD_ENV in the appropriate sequence