Skip to content

Commit 98d45d5

Browse files
committed
va: remove older 0.32 and 0.33 support
libva version 2.x should be compatible with 2.x series , not 1.x series and 0.x series reserve va_compat.h , because maybe some existing usage refer this file Signed-off-by: Carl Zhang <[email protected]>
1 parent 1b7d71f commit 98d45d5

File tree

4 files changed

+0
-66
lines changed

4 files changed

+0
-66
lines changed

Diff for: va/Makefile.am

-4
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ LDADD = \
3232

3333
libva_source_c = \
3434
va.c \
35-
va_compat.c \
3635
va_str.c \
3736
va_trace.c \
3837
$(NULL)
@@ -75,7 +74,6 @@ libva_source_h_priv = \
7574

7675
libva_ldflags = \
7776
$(LDADD) -no-undefined \
78-
-Wl,-version-script,${srcdir}/libva.syms \
7977
$(NULL)
8078

8179
libva_cflags = \
@@ -91,7 +89,6 @@ noinst_HEADERS = $(libva_source_h_priv)
9189
libva_la_SOURCES = $(libva_source_c)
9290
libva_la_CFLAGS = $(libva_cflags)
9391
libva_la_LDFLAGS = $(libva_ldflags)
94-
libva_la_DEPENDENCIES = libva.syms
9592
libva_la_LIBADD = $(LIBVA_LIBS)
9693

9794
if USE_DRM
@@ -146,7 +143,6 @@ DISTCLEANFILES = \
146143
$(NULL)
147144

148145
EXTRA_DIST = \
149-
libva.syms \
150146
va_version.h.in \
151147
meson.build \
152148
libva.def \

Diff for: va/libva.syms

-9
This file was deleted.

Diff for: va/meson.build

-8
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ version_file = configure_file(
1111

1212
libva_sources = [
1313
'va.c',
14-
'va_compat.c',
1514
'va_str.c',
1615
'va_trace.c',
1716
]
@@ -55,15 +54,8 @@ libva_headers_priv = [
5554
'va_trace.h',
5655
]
5756

58-
libva_sym = 'libva.syms'
59-
libva_sym_arg = '-Wl,-version-script,' + '@0@/@1@'.format(meson.current_source_dir(), libva_sym)
60-
6157
libva_link_args = []
6258
libva_link_depends = []
63-
if cc.links('', name: '-Wl,--version-script', args: ['-shared', libva_sym_arg])
64-
libva_link_args = libva_sym_arg
65-
libva_link_depends = libva_sym
66-
endif
6759

6860
install_headers(libva_headers, subdir : 'va')
6961

Diff for: va/va_compat.c

-45
This file was deleted.

0 commit comments

Comments
 (0)