1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
$NetBSD: patch-ad,v 1.2 2013/04/14 00:30:02 cheusov Exp $
Don't hardcode -ldl
--- va/Makefile.am.orig 2012-09-28 14:04:28.000000000 +0000
+++ va/Makefile.am
@@ -57,13 +57,13 @@ libvainclude_HEADERS = $(libva_source_h
noinst_HEADERS = $(libva_source_h_priv)
libva_la_SOURCES = $(libva_source_c)
libva_la_LDFLAGS = $(LDADD) -no-undefined
-libva_la_LIBADD = $(LIBVA_LIBS) -ldl
+libva_la_LIBADD = $(LIBVA_LIBS)
lib_LTLIBRARIES += libva-tpi.la
libva_tpi_la_SOURCES = va_tpi.c
libva_tpi_la_LDFLAGS = $(LDADD) -no-undefined
libva_tpi_la_DEPENDENCIES = libva.la
-libva_tpi_la_LIBADD = libva.la -ldl
+libva_tpi_la_LIBADD = libva.la
if USE_DRM
SUBDIRS += drm
@@ -72,7 +72,7 @@ libva_drm_la_SOURCES =
libva_drm_la_LDFLAGS = $(LDADD)
libva_drm_la_DEPENDENCIES = libva.la drm/libva_drm.la
libva_drm_la_LIBADD = libva.la drm/libva_drm.la \
- $(LIBVA_LIBS) $(DRM_LIBS) -ldl
+ $(LIBVA_LIBS) $(DRM_LIBS)
endif
if USE_X11
@@ -83,7 +83,7 @@ libva_x11_la_SOURCES =
libva_x11_la_LDFLAGS = $(LDADD)
libva_x11_la_DEPENDENCIES = libva.la x11/libva_x11.la
libva_x11_la_LIBADD = libva.la x11/libva_x11.la \
- $(LIBVA_LIBS) $(X11_LIBS) $(XEXT_LIBS) $(XFIXES_LIBS) $(DRM_LIBS) -ldl
+ $(LIBVA_LIBS) $(X11_LIBS) $(XEXT_LIBS) $(XFIXES_LIBS) $(DRM_LIBS)
endif
if USE_GLX
@@ -93,7 +93,7 @@ libva_glx_la_SOURCES =
libva_glx_la_LDFLAGS = $(LDADD)
libva_glx_la_DEPENDENCIES = libva.la glx/libva_glx.la libva-x11.la
libva_glx_la_LIBADD = libva.la glx/libva_glx.la libva-x11.la \
- $(GLX_LIBS) -ldl
+ $(GLX_LIBS)
endif
if USE_EGL
@@ -103,7 +103,7 @@ libva_egl_la_SOURCES =
libva_egl_la_LDFLAGS = $(LDADD)
libva_egl_la_DEPENDENCIES = libva.la egl/libva_egl.la libva-x11.la
libva_egl_la_LIBADD = libva.la egl/libva_egl.la libva-x11.la \
- $(EGL_LIBS) -ldl
+ $(EGL_LIBS)
endif
if USE_WAYLAND
@@ -113,7 +113,7 @@ libva_wayland_la_SOURCES =
libva_wayland_la_LDFLAGS = $(LDADD)
libva_wayland_la_DEPENDENCIES = libva.la wayland/libva_wayland.la
libva_wayland_la_LIBADD = libva.la wayland/libva_wayland.la \
- $(WAYLAND_LIBS) $(DRM_LIBS) -ldl
+ $(WAYLAND_LIBS) $(DRM_LIBS)
endif
DIST_SUBDIRS = x11 glx egl drm wayland
|