Marvin Scholz
2016-Jun-06 18:01 UTC
[Icecast-dev] [PATCH] configure: Fix compilation with curl
This adds the curl.o file to the files that should be linked if curl is enabled, else we get a link error if files that need curl are linked without actually having the curl convenience functions. --- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 4f495aa..450e232 100644 --- a/configure.ac +++ b/configure.ac @@ -112,7 +112,7 @@ XIPH_PATH_CURL([ AC_CHECK_DECL([CURLOPT_NOSIGNAL], [ AC_DEFINE([HAVE_AUTH_URL], 1, [Define to compile in auth URL support code]) AC_CHECK_FUNCS([curl_global_init]) - ICECAST_OPTIONAL="$ICECAST_OPTIONAL auth_url.o event_url.o" + ICECAST_OPTIONAL="$ICECAST_OPTIONAL auth_url.o event_url.o curl.o" enable_curl="yes" XIPH_VAR_APPEND([XIPH_CPPFLAGS],[$CURL_CFLAGS]) XIPH_VAR_PREPEND([XIPH_LIBS],[$CURL_LIBS]) @@ -162,7 +162,7 @@ AC_SUBST(KATE_LIBS) AC_OUTPUT([Makefile conf/Makefile src/Makefile src/common/avl/Makefile src/common/httpp/Makefile src/common/thread/Makefile src/common/log/Makefile src/common/net/Makefile src/common/timing/Makefile doc/Makefile doc/img/Makefile -doc/assets/Makefile doc/assets/css/Makefile doc/assets/font/Makefile +doc/assets/Makefile doc/assets/css/Makefile doc/assets/font/Makefile doc/assets/img/Makefile web/Makefile web/assets/Makefile web/assets/css/Makefile -web/assets/font/Makefile admin/Makefile admin/includes/Makefile win32/Makefile +web/assets/font/Makefile admin/Makefile admin/includes/Makefile win32/Makefile examples/Makefile]) -- 2.7.4 (Apple Git-66)