Branch: refs/heads/master Author: Enrico Tröger enrico.troeger@uvena.de Committer: Enrico Tröger enrico.troeger@uvena.de Date: Tue, 03 Oct 2023 13:16:11 UTC Commit: 354c7ba4e66803f16d9e0452b7829d47cb742587 https://github.com/geany/geany/commit/354c7ba4e66803f16d9e0452b7829d47cb7425...
Log Message: ----------- CI: Copy used C++ runtime library into the GTK bundle
Modified Paths: -------------- scripts/ci_mingw64_geany.sh
Modified: scripts/ci_mingw64_geany.sh 7 lines changed, 7 insertions(+), 0 deletions(-) =================================================================== @@ -208,6 +208,13 @@ create_gtk_bundle() { mkdir ${GTK_BUNDLE_DIR} cd ${GTK_BUNDLE_DIR} bash ${GEANY_BUILD_DIR}/scripts/gtk-bundle-from-msys2.sh -x -3 + + # We use the "posix" variant of the mingw64 cross compiler which has support for + # C++ features like "std:future". For this to work, we need to use the corresponding + # C++ runtime library and copy (and strip) it to the resulting bundle. + gcc_version="$(${HOST}-gcc -dumpversion)/libstdc++-6.dll" + cp "/usr/lib/gcc/${HOST}/${gcc_version}" "${GTK_BUNDLE_DIR}/bin" + ${HOST}-strip "${GTK_BUNDLE_DIR}/bin/libstdc++-6.dll" }
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).