Commit 59ff381e authored by Martin Storsjo's avatar Martin Storsjo

Include dependency libs (-lm) in the pkg-config file

parent a63897ce
......@@ -27,7 +27,11 @@ dnl soname version to use
dnl goes by ‘current[:revision[:age]]’ with the soname ending up as
dnl current.age.revision
FDK_AAC_VERSION=0:2:0
AS_IF([test x$enable_shared = xyes], [LIBS_PRIVATE=$LIBS], [LIBS_PUBLIC=$LIBS])
AC_SUBST(FDK_AAC_VERSION)
AC_SUBST(LIBS_PUBLIC)
AC_SUBST(LIBS_PRIVATE)
AC_CONFIG_FILES([Makefile
fdk-aac.pc])
......
......@@ -6,5 +6,6 @@ includedir=@includedir@
Name: Fraunhofer FDK AAC Codec Library
Description: AAC codec library
Version: @PACKAGE_VERSION@
Libs: -L${libdir} -lfdk-aac
Libs: -L${libdir} -lfdk-aac @LIBS_PUBLIC@
Libs.private: @LIBS_PRIVATE@
Cflags: -I${includedir}
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