Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Libvdpau
Commits
50925e6b
Commit
50925e6b
authored
Aug 17, 2009
by
Aaron Plattner
Browse files
Add a check for -ldl, stolen from xorg-server's configure.ac.
Signed-off-by:
Nicolas Chauvet
<
kwizart@gmail.com
>
parent
7fa59a29
Changes
3
Show whitespace changes
Inline
Side-by-side
configure.ac
View file @
50925e6b
...
@@ -20,6 +20,12 @@ PKG_CHECK_MODULES(X11, x11)
...
@@ -20,6 +20,12 @@ PKG_CHECK_MODULES(X11, x11)
AC_SUBST(X11_CFLAGS)
AC_SUBST(X11_CFLAGS)
AC_SUBST(X11_LIBS)
AC_SUBST(X11_LIBS)
dnl Check to see if dlopen is in default libraries (like Solaris, which
dnl has it in libc), or if libdl is needed to get it.
AC_CHECK_FUNC([dlopen], [],
AC_CHECK_LIB([dl], [dlopen], DLOPEN_LIBS="-ldl"))
AC_SUBST([DLOPEN_LIBS])
AC_OUTPUT([Makefile
AC_OUTPUT([Makefile
src/Makefile
src/Makefile
trace/Makefile
trace/Makefile
...
...
src/Makefile.am
View file @
50925e6b
...
@@ -7,6 +7,9 @@ lib_LTLIBRARIES = libvdpau.la
...
@@ -7,6 +7,9 @@ lib_LTLIBRARIES = libvdpau.la
libvdpau_la_SOURCES
=
\
libvdpau_la_SOURCES
=
\
vdpau_wrapper.c
vdpau_wrapper.c
libvdpau_la_LIBADD
=
\
$(DLOPEN_LIBS)
libvdpau_la_LDFLAGS
=
-version-info
1:0:0
-no-undefined
libvdpau_la_LDFLAGS
=
-version-info
1:0:0
-no-undefined
libvdpauincludedir
=
$(includedir)
/vdpau
libvdpauincludedir
=
$(includedir)
/vdpau
...
...
trace/Makefile.am
View file @
50925e6b
...
@@ -7,6 +7,9 @@ lib_LTLIBRARIES = libvdpau_trace.la
...
@@ -7,6 +7,9 @@ lib_LTLIBRARIES = libvdpau_trace.la
libvdpau_trace_la_SOURCES
=
\
libvdpau_trace_la_SOURCES
=
\
vdpau_trace.cpp
vdpau_trace.cpp
libvdpau_trace_la_LIBADD
=
\
$(DLOPEN_LIBS)
libvdpau_trace_la_LDFLAGS
=
-avoid-version
-module
-no-undefined
libvdpau_trace_la_LDFLAGS
=
-avoid-version
-module
-no-undefined
libvdpau_traceincludedir
=
$(includedir)
/vdpau
libvdpau_traceincludedir
=
$(includedir)
/vdpau
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment