Skip to content

Commit

Permalink
compiler: don't do static c++ linkage on linux, maybe fixes #95
Browse files Browse the repository at this point in the history
  • Loading branch information
niv committed Oct 14, 2023
1 parent 467d7f9 commit bf6ad16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neverwinter/nwscript/compiler.nim
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{.passL: "-lstdc++".}
const cppFlags = "-std=c++14"
when defined(linux) or defined(mingw):
when defined(mingw):
{.passL: "-static".}
{.compile("native/exostring.cpp", cppFlags).}
{.compile("native/scriptcompcore.cpp", cppFlags).}
Expand Down

0 comments on commit bf6ad16

Please sign in to comment.