wok-6.x rev 19737
linphone: add LDFLAGS for -Wl,--copy-dt-needed-entries
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 18 10:40:06 2017 +0100 (2017-02-18) |
parents | e0009d5c4bf1 |
children | ae87ea6b5df4 |
files | linphone/receipt |
line diff
1.1 --- a/linphone/receipt Sat Feb 18 10:32:03 2017 +0100 1.2 +++ b/linphone/receipt Sat Feb 18 10:40:06 2017 +0100 1.3 @@ -18,7 +18,7 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 - cd $src 1.8 + export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries" 1.9 sed -i -e 's/CodecID/AV&/' -e 's/avcodec_init();//' \ 1.10 -e 's/avcodec_open(\([^)]*\)/avcodec_open2(\1, NULL/' \ 1.11 -e 's/avcodec_get_context_defaults(\([^)]*\)/avcodec_get_context_defaults3(\1, NULL/' \