Browse Source

Merge commit '535a742c2695a9e0c586b50d7fa76e318232ff24'

* commit '535a742c2695a9e0c586b50d7fa76e318232ff24':
  build: Change structure of the linker version script templates

Merged-by: Matthieu Bouron <matthieu.bouron@stupeflix.com>
tags/n3.2
Matthieu Bouron 8 years ago
parent
commit
0acc170aad
10 changed files with 67 additions and 46 deletions
  1. +1
    -3
      common.mak
  2. +8
    -6
      libavcodec/libavcodec.v
  3. +6
    -3
      libavdevice/libavdevice.v
  4. +6
    -3
      libavfilter/libavfilter.v
  5. +18
    -16
      libavformat/libavformat.v
  6. +5
    -3
      libavresample/libavresample.v
  7. +5
    -3
      libavutil/libavutil.v
  8. +6
    -3
      libpostproc/libpostproc.v
  9. +6
    -3
      libswresample/libswresample.v
  10. +6
    -3
      libswscale/libswscale.v

+ 1
- 3
common.mak View File

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



+ 8
- 6
libavcodec/libavcodec.v View File

@@ -1,7 +1,9 @@
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:
*;
};

+ 6
- 3
libavdevice/libavdevice.v View File

@@ -1,4 +1,7 @@
LIBAVDEVICE_$MAJOR {
global: avdevice_*; av_*;
local: *;
LIBAVDEVICE_MAJOR {
global:
avdevice_*;
av_*;
local:
*;
};

+ 6
- 3
libavfilter/libavfilter.v View File

@@ -1,4 +1,7 @@
LIBAVFILTER_$MAJOR {
global: avfilter_*; av_*;
local: *;
LIBAVFILTER_MAJOR {
global:
avfilter_*;
av_*;
local:
*;
};

+ 18
- 16
libavformat/libavformat.v View File

@@ -1,17 +1,19 @@
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:
*;
};

+ 5
- 3
libavresample/libavresample.v View File

@@ -1,4 +1,6 @@
LIBAVRESAMPLE_$MAJOR {
global: av*;
local: *;
LIBAVRESAMPLE_MAJOR {
global:
av*;
local:
*;
};

+ 5
- 3
libavutil/libavutil.v View File

@@ -1,4 +1,6 @@
LIBAVUTIL_$MAJOR {
global: av*;
local: *;
LIBAVUTIL_MAJOR {
global:
av*;
local:
*;
};

+ 6
- 3
libpostproc/libpostproc.v View File

@@ -1,4 +1,7 @@
LIBPOSTPROC_$MAJOR {
global: postproc_*; pp_*;
local: *;
LIBPOSTPROC_MAJOR {
global:
postproc_*;
pp_*;
local:
*;
};

+ 6
- 3
libswresample/libswresample.v View File

@@ -1,4 +1,7 @@
LIBSWRESAMPLE_$MAJOR {
global: swr_*; swresample_*;
local: *;
LIBSWRESAMPLE_MAJOR {
global:
swr_*;
swresample_*;
local:
*;
};

+ 6
- 3
libswscale/libswscale.v View File

@@ -1,4 +1,7 @@
LIBSWSCALE_$MAJOR {
global: swscale_*; sws_*;
local: *;
LIBSWSCALE_MAJOR {
global:
swscale_*;
sws_*;
local:
*;
};

Loading…
Cancel
Save