Skip to content

Commit

Permalink
BUG: Fix for MSYS2 build
Browse files Browse the repository at this point in the history
  • Loading branch information
TidbitSoftware committed Jul 28, 2024
1 parent 53ee210 commit 3a68cbf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion m4/issm_options.m4
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,8 @@ AC_DEFUN([ISSM_OPTIONS],[
IS_MSYS2=yes
AC_DEFINE([_IS_MAC_], [0], [is macOS])
AC_DEFINE([_IS_MSYS2_], [1], [is Windows (MSYS2 MinGW)])
export CXXFLAGS="-D_MSYS2_"
export CXXFLAGS="-D_MSYS2_ -std=c++11"
export LDFLAGS="-no-undefined"
export OSLIBS="-Wl,-L/c/msys64/mingw64/lib -Wl,-lstdc++ -Wl,-lmingw32 -Wl,-lgcc_s -Wl,-lmoldname -Wl,-lmingwex -Wl,-lmsvcrt -Wl,-lm -Wl,-lpthread -Wl,-lshell32 -Wl,-luser32 -Wl,-lgdi32 -Wl,-luser32 -Wl,-ladvapi32 -Wl,-lkernel32 -Wl,-lgcc"
;;
*)
Expand Down

0 comments on commit 3a68cbf

Please sign in to comment.