From 78443185d4f09dd1ffd459dd333407d2458fb4e4 Mon Sep 17 00:00:00 2001 From: Martin Storsjo Date: Sat, 7 Jul 2012 13:12:22 +0300 Subject: Export the external symbols via the libtool -export-symbols option Change-Id: If139d0d1cf6f9fdfb0ebc477d2152b9f5f49f566 --- Makefile.am | 4 +++- fdk-aac.sym | 18 ++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 fdk-aac.sym diff --git a/Makefile.am b/Makefile.am index 1c77b08..9743bfa 100644 --- a/Makefile.am +++ b/Makefile.am @@ -29,7 +29,8 @@ pkgconfig_DATA = fdk-aac.pc lib_LTLIBRARIES = libfdk-aac.la -libfdk_aac_la_LDFLAGS = -version-info @FDK_AAC_VERSION@ -no-undefined +libfdk_aac_la_LDFLAGS = -version-info @FDK_AAC_VERSION@ -no-undefined \ + -export-symbols $(top_srcdir)/fdk-aac.sym AACDEC_DIR = $(top_srcdir)/libAACdec/src AACDEC_SRC = \ @@ -185,6 +186,7 @@ libfdk_aac_la_SOURCES = \ EXTRA_DIST = \ $(top_srcdir)/NOTICE \ $(top_srcdir)/Android.mk \ + $(top_srcdir)/fdk-aac.sym \ $(top_srcdir)/documentation/*.pdf \ $(top_srcdir)/libAACdec/src/*.h \ $(top_srcdir)/libAACdec/src/arm/*.cpp \ diff --git a/fdk-aac.sym b/fdk-aac.sym new file mode 100644 index 0000000..2a06c41 --- /dev/null +++ b/fdk-aac.sym @@ -0,0 +1,18 @@ +aacDecoder_AncDataGet +aacDecoder_AncDataInit +aacDecoder_Close +aacDecoder_ConfigRaw +aacDecoder_DecodeFrame +aacDecoder_Fill +aacDecoder_GetFreeBytes +aacDecoder_GetLibInfo +aacDecoder_GetStreamInfo +aacDecoder_Open +aacDecoder_SetParam +aacEncClose +aacEncEncode +aacEncGetLibInfo +aacEncInfo +aacEncOpen +aacEncoder_GetParam +aacEncoder_SetParam -- cgit v1.2.3