Skip to content

Commit

Permalink
- add -lregex to the compilation in Windows.
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@7992 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed Feb 23, 2011
1 parent 909f7c1 commit 9184a0f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Compiler/runtime/config.h
Expand Up @@ -35,10 +35,11 @@

#define DEFAULT_CC "g++"
#define DEFAULT_CXX "g++"
#define DEFAULT_LDFLAGS "-lc_runtime"

#if defined(__MINGW32__) || defined(_MSC_VER) /* Windows */

#define DEFAULT_LDFLAGS "-lc_runtime -lregex"

#define CONFIG_PLATFORM "WIN32"
#define CONFIG_USER_IS_ROOT 0

Expand Down Expand Up @@ -78,6 +79,8 @@

#else /* Unix */

#define DEFAULT_LDFLAGS "-lc_runtime"

#include "config.unix.h"

#endif
Expand Down

0 comments on commit 9184a0f

Please sign in to comment.