From 59ff381ee464da358c0a48b10b10bd3650533886 Mon Sep 17 00:00:00 2001 From: Martin Storsjo Date: Sat, 27 Jul 2013 01:59:16 +0300 Subject: Include dependency libs (-lm) in the pkg-config file --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index c52d0b9..82e3237 100644 --- a/configure.ac +++ b/configure.ac @@ -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]) -- cgit v1.2.3