Skip to content

Commit

Permalink
- continue on fix ipopt linking flags on Linux using a quick hack for…
Browse files Browse the repository at this point in the history
… now

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@17144 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed Sep 8, 2013
1 parent 8275ecd commit af0c480
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ AC_ARG_WITH(ipopt, [ --with-ipopt=DIR use ipopt for initializat
if test "$NO_SUNDIALS" = "yes"; then
NO_IPOPT="yes"
elif test "$WANT_IPOPT" = "yes"; then
AC_CHECK_HEADERS(coin/IpStdCInterface.h, [IPOPT_LDFLAGS="-lipopt"; IPOPT_CFLAGS=""], [NO_IPOPT="yes"])
AC_CHECK_HEADERS(coin/IpStdCInterface.h, [IPOPT_LDFLAGS=`pkg-config --libs ipopt`; IPOPT_CFLAGS=""], [NO_IPOPT="yes"])
elif test "$WANT_IPOPT" = "no"; then
NO_IPOPT="yes"
else
Expand Down

0 comments on commit af0c480

Please sign in to comment.