Commit 0acc170a authored by Matthieu Bouron's avatar Matthieu Bouron

Merge commit '535a742c'

* commit '535a742c':
  build: Change structure of the linker version script templates
Merged-by: 's avatarMatthieu Bouron <matthieu.bouron@stupeflix.com>
parents d9561718 535a742c
......@@ -84,9 +84,7 @@ COMPILE_HOSTC = $(call COMPILE,HOSTCC)
$(Q)echo '#include "$*.h"' >$@
%.ver: %.v
$(M)sed 's/$$MAJOR/$($(basename $(@F))_VERSION_MAJOR)/' $^ | sed -e 's/:/:\
/' -e 's/; /;\
/g' > $@
$(M)sed 's/MAJOR/$($(basename $(@F))_VERSION_MAJOR)/' $^ > $@
%.c %.h %.ver: TAG = GEN
......
LIBAVCODEC_$MAJOR {
global: av*;
#deprecated, remove after next bump
audio_resample;
audio_resample_close;
local: *;
LIBAVCODEC_MAJOR {
global:
av*;
#deprecated, remove after next bump
audio_resample;
audio_resample_close;
local:
*;
};
LIBAVDEVICE_$MAJOR {
global: avdevice_*; av_*;
local: *;
LIBAVDEVICE_MAJOR {
global:
avdevice_*;
av_*;
local:
*;
};
LIBAVFILTER_$MAJOR {
global: avfilter_*; av_*;
local: *;
LIBAVFILTER_MAJOR {
global:
avfilter_*;
av_*;
local:
*;
};
LIBAVFORMAT_$MAJOR {
global: av*;
#FIXME those are for ffserver
ff_inet_aton;
ff_socket_nonblock;
ff_rtsp_parse_line;
ff_rtp_get_local_rtp_port;
ff_rtp_get_local_rtcp_port;
ffio_open_dyn_packet_buf;
ffio_set_buf_size;
ffurl_close;
ffurl_open;
ffurl_write;
#those are deprecated, remove on next bump
url_feof;
local: *;
LIBAVFORMAT_MAJOR {
global:
av*;
#FIXME those are for ffserver
ff_inet_aton;
ff_socket_nonblock;
ff_rtsp_parse_line;
ff_rtp_get_local_rtp_port;
ff_rtp_get_local_rtcp_port;
ffio_open_dyn_packet_buf;
ffio_set_buf_size;
ffurl_close;
ffurl_open;
ffurl_write;
#those are deprecated, remove on next bump
url_feof;
local:
*;
};
LIBAVRESAMPLE_$MAJOR {
global: av*;
local: *;
LIBAVRESAMPLE_MAJOR {
global:
av*;
local:
*;
};
LIBAVUTIL_$MAJOR {
global: av*;
local: *;
LIBAVUTIL_MAJOR {
global:
av*;
local:
*;
};
LIBPOSTPROC_$MAJOR {
global: postproc_*; pp_*;
local: *;
LIBPOSTPROC_MAJOR {
global:
postproc_*;
pp_*;
local:
*;
};
LIBSWRESAMPLE_$MAJOR {
global: swr_*; swresample_*;
local: *;
LIBSWRESAMPLE_MAJOR {
global:
swr_*;
swresample_*;
local:
*;
};
LIBSWSCALE_$MAJOR {
global: swscale_*; sws_*;
local: *;
LIBSWSCALE_MAJOR {
global:
swscale_*;
sws_*;
local:
*;
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment