Skip to content

Commit

Permalink
release.sh: locate mxe toolchain file in a portable way
Browse files Browse the repository at this point in the history
  • Loading branch information
reos-rcrozier committed Apr 2, 2023
1 parent 08baade commit 481a6ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ cd /tmp/${win_64_common_dir_name}
cmake -DCMAKE_BUILD_TYPE=Release \
-DEXTRA_CMAKE_CXX_FLAGS="-static -static-libgcc -static-libstdc++" \
-DEXTRA_CMAKE_EXE_LINKER_FLAGS="-static -static-libgcc -static-libstdc++" \
-DCMAKE_TOOLCHAIN_FILE=/opt/mxe/usr/x86_64-w64-mingw32.static/share/cmake/mxe-conf.cmake ${win_64_release_dir}/cfemm
-DCMAKE_TOOLCHAIN_FILE=$(dirname $(which x86_64-w64-mingw32.static-g++))/../x86_64-w64-mingw32.static/share/cmake/mxe-conf.cmake ${win_64_release_dir}/cfemm
make

# copy over the windows dlls, and delete from dist
Expand Down

0 comments on commit 481a6ac

Please sign in to comment.