Skip to content

Commit

Permalink
fix openssl
Browse files Browse the repository at this point in the history
  • Loading branch information
carrotIndustries committed May 16, 2024
1 parent 0cbd512 commit 6582c4b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions make_bindist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions src/pool-prj-mgr/pool-prj-mgr-process.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 6582c4b

Please sign in to comment.