hardware/intel/common/libva
Revisión | 50a77df1b7340a05e9c9099868a46b4b045b7bd4 (tree) |
---|---|
Tiempo | 2017-11-15 03:34:46 |
Autor | Sebastian Ramacher <sramacher@debi...> |
Commiter | Xiang, Haihao |
va_drm: dlopen correct version of libva-x11
Determine the correct SONAME automatically.
Signed-off-by: Sebastian Ramacher <sramacher@debian.org>
@@ -46,6 +46,7 @@ source_h_priv = \ | ||
46 | 46 | if USE_X11 |
47 | 47 | source_c += va_drm_auth_x11.c |
48 | 48 | AM_CPPFLAGS += $(X11_CFLAGS) |
49 | +AM_CPPFLAGS += -DLIBVA_MAJOR_VERSION=$(LIBVA_MAJOR_VERSION) | |
49 | 50 | endif |
50 | 51 | |
51 | 52 | noinst_LTLIBRARIES = libva_drm.la |
@@ -28,8 +28,6 @@ | ||
28 | 28 | #include <X11/Xlib.h> |
29 | 29 | #include "va_drm_auth_x11.h" |
30 | 30 | |
31 | -#define LIBVA_MAJOR_VERSION 1 | |
32 | - | |
33 | 31 | typedef struct drm_auth_x11 DRMAuthX11; |
34 | 32 | typedef struct drm_auth_x11_vtable DRMAuthX11VTable; |
35 | 33 |