From ddce7932f07be2713eecf274d523185c08d2c6d0 Mon Sep 17 00:00:00 2001 From: Marco Cawthorne Date: Wed, 13 Jul 2022 11:25:14 -0700 Subject: [PATCH] build_engine.sh: just avoid passing CC, CXX and FTE_TARGET to the makelibs target of FTEQW to avoid headaches. Clearly makelibs doesn't handle any of this well without multiple passes. Just passing FTE_TARGET will sometimes not link libpng correctly? Someone else can study this if they like --- build_engine.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_engine.sh b/build_engine.sh index a8b08344..1a3b2f0b 100755 --- a/build_engine.sh +++ b/build_engine.sh @@ -142,7 +142,7 @@ fi if [ "$BUILD_ENGINE_DEPENDENCIES" -eq 1 ] then - $MAKE -j $BUILD_PROC CC=$ENGINE_CC CXX=$ENGINE_CXX makelibs FTE_TARGET=$PLATFORM + $MAKE -j $BUILD_PROC makelibs printf "Built the static dependencies successfully.\n\n" fi