Skip to content

Commit

Permalink
Bump main-static by default on OSX
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@17978 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Nov 2, 2013
1 parent e4c80c1 commit 10931e1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions configure.in
Expand Up @@ -76,6 +76,7 @@ AC_SUBST(LDFLAGS_SOCKET)
AC_SUBST(APP)
AC_SUBST(OMC)
AC_SUBST(OMCTARGET)
AC_SUBST(BOOTSTRAP_TARGET)

FINAL_MESSAGES="\nConfigured OpenModelica successfully using the following options:"

Expand Down Expand Up @@ -740,6 +741,7 @@ if test "Darwin" = `uname`; then
OS_TARGET="osx"
LIS_LDFLAGS="-Wl,-install_name,@rpath/liblis.dylib"
AR_SH="sh -x ar.sh"
BOOTSTRAP_TARGET="main-static"
elif test "$host" = "i586-pc-mingw32msvc"; then
APP=".exe"
EXE=".exe"
Expand All @@ -757,6 +759,7 @@ elif test "$host" = "i586-pc-mingw32msvc"; then
AR_SH="$AR -ru"
CPPFLAGS_F2C=" -DUSE_CLOCK"
LDFLAGS_SOCKET=" -lwsock32"
BOOTSTRAP_TARGET="main-static"
else
APP=""
EXE=""
Expand All @@ -771,6 +774,7 @@ else
RPATH="-Wl,-rpath,'\$\$ORIGIN/../lib/omc'"
OS_TARGET="linux"
AR_SH="$AR -ru"
BOOTSTRAP_TARGET="main-shared"
fi

dnl should we compile modpar
Expand Down

0 comments on commit 10931e1

Please sign in to comment.