Export the external symbols via the libtool -export-symbols option

Change-Id: If139d0d1cf6f9fdfb0ebc477d2152b9f5f49f566
This commit is contained in:
Martin Storsjo 2012-07-07 13:12:22 +03:00
parent 7ed64e79d4
commit 78443185d4
2 changed files with 21 additions and 1 deletions

View File

@ -29,7 +29,8 @@ pkgconfig_DATA = fdk-aac.pc
lib_LTLIBRARIES = libfdk-aac.la 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_DIR = $(top_srcdir)/libAACdec/src
AACDEC_SRC = \ AACDEC_SRC = \
@ -185,6 +186,7 @@ libfdk_aac_la_SOURCES = \
EXTRA_DIST = \ EXTRA_DIST = \
$(top_srcdir)/NOTICE \ $(top_srcdir)/NOTICE \
$(top_srcdir)/Android.mk \ $(top_srcdir)/Android.mk \
$(top_srcdir)/fdk-aac.sym \
$(top_srcdir)/documentation/*.pdf \ $(top_srcdir)/documentation/*.pdf \
$(top_srcdir)/libAACdec/src/*.h \ $(top_srcdir)/libAACdec/src/*.h \
$(top_srcdir)/libAACdec/src/arm/*.cpp \ $(top_srcdir)/libAACdec/src/arm/*.cpp \

18
fdk-aac.sym Normal file
View File

@ -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