From 9ad6264b3c1ad599294e94a732103888092164ea Mon Sep 17 00:00:00 2001 From: nu774 Date: Mon, 7 Jan 2013 11:36:41 +0900 Subject: [PATCH] explicitly add -lfdk-aac to LDADD in Makefile.am --- Makefile.am | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 12dd208..b69e467 100644 --- a/Makefile.am +++ b/Makefile.am @@ -12,7 +12,7 @@ fdkaac_SOURCES = \ src/wav_reader.c fdkaac_LDADD = \ - @LIBICONV@ -lm + @LIBICONV@ -lfdk-aac -lm if FDK_PLATFORM_POSIX fdkaac_SOURCES += \ diff --git a/configure.ac b/configure.ac index cd8626d..4685cca 100644 --- a/configure.ac +++ b/configure.ac @@ -35,7 +35,7 @@ AC_FUNC_FSEEKO AC_CHECK_FUNCS([gettimeofday nl_langinfo strdup]) AC_CHECK_FUNC(getopt_long) AM_CONDITIONAL([FDK_NO_GETOPT_LONG],[test "$ac_cv_func_getopt_long" != "yes"]) -AC_SEARCH_LIBS([aacEncOpen],[fdk-aac]) +AC_SEARCH_LIBS([aacEncOpen],[fdk-aac],[],[],[]) AC_CANONICAL_HOST -- 2.39.2