Skip to content

Commit

Permalink
do not export ffmpeg symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
wang-bin committed Jul 3, 2017
1 parent 22841e8 commit e84bcce
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/libQtAV.pro
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,9 @@ mac|ios {
CONFIG *= config_openal
SOURCES += output/audio/AudioOutputAudioToolbox.cpp
LIBS += -framework AudioToolbox
LIBS += -Wl,-unexported_symbols_list $$PWD/unexport.list
} else:!win32 {
#LIBS += -Wl,--exclude-libs,ALL
}
win32: {
HEADERS += output/audio/xaudio2_compat.h
Expand Down
8 changes: 8 additions & 0 deletions src/unexport.list
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
_av*
_ff*
_sw*
_uchardet_*
_ass_*
_lzma_*
_al*
_rgb*

0 comments on commit e84bcce

Please sign in to comment.