Commit 365ac4c2 authored by Ulrich Klauer's avatar Ulrich Klauer Committed by Timothy B. Terriberry
Browse files

Handle AC_SEARCH_LIBS special result value.

AC_SEARCH_LIBS will give a result of "none required" if the relevant
 function is available without any special libraries.
This is the case for lrintf on MinGW.
Make sure this special value isn't put verbatim into the pkg-config
 files, as it would cause the linker to search for files named
 "none" and "required", and fail.
Signed-off-by: Timothy B. Terriberry's avatarTimothy B. Terriberry <>
parent be4a77d2
......@@ -107,7 +107,11 @@ AS_IF([test "x$enable_fixed_point" = "xyes"],
AS_IF([test "x$ac_cv_search_lrintf" = "xnone required"],
CC_FLAG_VISIBILITY([CFLAGS="${CFLAGS} -fvisibility=hidden"])
......@@ -10,5 +10,5 @@ Description: Opus playback library (not installed)
Version: @VERSION@
Requires: ogg >= 1.3 opus >= 1.0.1 @openssl@
Libs: ${libdir}/ @ac_cv_search_lrintf@
Libs: ${libdir}/ @lrintf_lib@
Cflags: -I${includedir}
......@@ -11,5 +11,5 @@ Version: @VERSION@
Requires: ogg >= 1.3 opus >= 1.0.1 @openssl@
Libs: -L${libdir} -lopusfile
Libs.private: @ac_cv_search_lrintf@
Libs.private: @lrintf_lib@
Cflags: -I${includedir}/opus
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment