Skip to content

Commit

Permalink
Fix linking of libcurl on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
sjoelund committed Apr 29, 2020
1 parent 98d8681 commit a793e63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OMCompiler/configure.ac
Expand Up @@ -590,7 +590,7 @@ SUNDIALS_TARGET="sundials"
AC_CHECK_HEADERS(curl/curl.h, [], [AC_MSG_ERROR(Missing header files)])

LIBS=""
AC_CHECK_LIB(curl,curl_global_init, [RT_LDFLAGS_OPTIONAL="$RT_LDFLAGS_OPTIONAL -lcurl"], [AC_MSG_ERROR([Missing libcurl])])
AC_CHECK_LIB(curl,curl_global_init, [RT_LDFLAGS="$RT_LDFLAGS -lcurl"], [AC_MSG_ERROR([Missing libcurl])])

AC_CHECK_HEADERS(locale.h libintl.h,[],[HAVE_GETTEXT="#define NO_GETTEXT 1"])

Expand Down

0 comments on commit a793e63

Please sign in to comment.