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) ...@@ -84,9 +84,7 @@ COMPILE_HOSTC = $(call COMPILE,HOSTCC)
$(Q)echo '#include "$*.h"' >$@ $(Q)echo '#include "$*.h"' >$@
%.ver: %.v %.ver: %.v
$(M)sed 's/$$MAJOR/$($(basename $(@F))_VERSION_MAJOR)/' $^ | sed -e 's/:/:\ $(M)sed 's/MAJOR/$($(basename $(@F))_VERSION_MAJOR)/' $^ > $@
/' -e 's/; /;\
/g' > $@
%.c %.h %.ver: TAG = GEN %.c %.h %.ver: TAG = GEN
......
LIBAVCODEC_$MAJOR { LIBAVCODEC_MAJOR {
global: av*; global:
av*;
#deprecated, remove after next bump #deprecated, remove after next bump
audio_resample; audio_resample;
audio_resample_close; audio_resample_close;
local: *; local:
*;
}; };
LIBAVDEVICE_$MAJOR { LIBAVDEVICE_MAJOR {
global: avdevice_*; av_*; global:
local: *; avdevice_*;
av_*;
local:
*;
}; };
LIBAVFILTER_$MAJOR { LIBAVFILTER_MAJOR {
global: avfilter_*; av_*; global:
local: *; avfilter_*;
av_*;
local:
*;
}; };
LIBAVFORMAT_$MAJOR { LIBAVFORMAT_MAJOR {
global: av*; global:
av*;
#FIXME those are for ffserver #FIXME those are for ffserver
ff_inet_aton; ff_inet_aton;
ff_socket_nonblock; ff_socket_nonblock;
...@@ -13,5 +14,6 @@ LIBAVFORMAT_$MAJOR { ...@@ -13,5 +14,6 @@ LIBAVFORMAT_$MAJOR {
ffurl_write; ffurl_write;
#those are deprecated, remove on next bump #those are deprecated, remove on next bump
url_feof; url_feof;
local: *; local:
*;
}; };
LIBAVRESAMPLE_$MAJOR { LIBAVRESAMPLE_MAJOR {
global: av*; global:
local: *; av*;
local:
*;
}; };
LIBAVUTIL_$MAJOR { LIBAVUTIL_MAJOR {
global: av*; global:
local: *; av*;
local:
*;
}; };
LIBPOSTPROC_$MAJOR { LIBPOSTPROC_MAJOR {
global: postproc_*; pp_*; global:
local: *; postproc_*;
pp_*;
local:
*;
}; };
LIBSWRESAMPLE_$MAJOR { LIBSWRESAMPLE_MAJOR {
global: swr_*; swresample_*; global:
local: *; swr_*;
swresample_*;
local:
*;
}; };
LIBSWSCALE_$MAJOR { LIBSWSCALE_MAJOR {
global: swscale_*; sws_*; global:
local: *; 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