[Scummvm-git-logs] scummvm master -> b8b21e9df9e48484cb6a606ffd8e72be50d421a0

lephilousophe noreply at scummvm.org
Sun Jul 27 22:54:06 UTC 2025


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .

Summary:
b8b21e9df9 EMSCRIPTEN: Fix out-of-tree builds


Commit: b8b21e9df9e48484cb6a606ffd8e72be50d421a0
    https://github.com/scummvm/scummvm/commit/b8b21e9df9e48484cb6a606ffd8e72be50d421a0
Author: Le Philousophe (lephilousophe at users.noreply.github.com)
Date: 2025-07-27T23:23:55+02:00

Commit Message:
EMSCRIPTEN: Fix out-of-tree builds

Changed paths:
    configure


diff --git a/configure b/configure
index 496d4abea99..f7dbd8120c4 100755
--- a/configure
+++ b/configure
@@ -7500,7 +7500,7 @@ case $_host_os in
 		fi
 		;;
 	emscripten)
-		append_var LDFLAGS "--pre-js ./dists/emscripten/custom_shell-pre.js --post-js ./dists/emscripten/custom_shell-post.js --shell-file ./dists/emscripten/custom_shell.html"
+		append_var LDFLAGS '--pre-js $(srcdir)/dists/emscripten/custom_shell-pre.js --post-js $(srcdir)/dists/emscripten/custom_shell-post.js --shell-file $(srcdir)/dists/emscripten/custom_shell.html'
 		# we remove some linker flags for libs which will be added by emscripten from emscripten-ports to avoid duplicate symbols
 		if test "${LDFLAGS#*-s USE_GIFLIB=1}" != "$LDFLAGS"; then
 			LIBS=`echo ${LIBS} | sed 's/-lgif//g'`




More information about the Scummvm-git-logs mailing list