diff --git a/make_bindist.sh b/make_bindist.sh index f5b499d8..d29dd661 100644 --- a/make_bindist.sh +++ b/make_bindist.sh @@ -122,6 +122,9 @@ rm $DISTDIR/lib/gdk-pixbuf-*/*/loaders/*.a mkdir -p $DISTDIR/share/glib-2.0/schemas cp /mingw64/share/glib-2.0/schemas/gschemas.compiled $DISTDIR/share/glib-2.0/schemas +cp -r /mingw64/lib/engines-3 $DISTDIR/lib +cp -r /mingw64/lib/ossl-modules $DISTDIR/lib + git log -10 | unix2dos > dist/log.txt if [ "$1" != "-n" ]; then cd dist diff --git a/src/pool-prj-mgr/pool-prj-mgr-process.cpp b/src/pool-prj-mgr/pool-prj-mgr-process.cpp index 9c34302d..b1a62ca6 100644 --- a/src/pool-prj-mgr/pool-prj-mgr-process.cpp +++ b/src/pool-prj-mgr/pool-prj-mgr-process.cpp @@ -32,6 +32,9 @@ PoolProjectManagerProcess::PoolProjectManagerProcess(const UUID &uu, PoolProject env.push_back(it + "=" + Glib::getenv(it)); } auto exe_dir = get_exe_dir(); +#ifdef G_OS_WIN32 + env.push_back("OPENSSL_MODULES=" + Glib::build_filename(exe_dir, "lib/ossl-modules")); +#endif auto imp_exe = Glib::build_filename(exe_dir, "horizon-imp"); argv.push_back(imp_exe); switch (type) {