blob: 1ab7a6de31156aa63314ff7e4097188e98ee377c (
plain)
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
|
https://bugs.gentoo.org/show_bug.cgi?id=417523
https://bugs.webkit.org/show_bug.cgi?id=96602
Index: configure.ac
===================================================================
--- configure.ac (revision 128397)
+++ configure.ac (working copy)
@@ -278,6 +278,10 @@
AC_SUBST([OLE32_LIBS])
+AC_CHECK_FUNC([dlopen], [], [AC_CHECK_LIB([dl], [dlopen], [DLOPEN_LIBS="-ldl"])])
+AC_SUBST([DLOPEN_LIBS])
+
+
# determine the GTK+ version to use
AC_MSG_CHECKING([the GTK+ version to use])
AC_ARG_WITH([gtk],
@@ -1124,7 +1128,7 @@
fi
if test "$with_acceleration_backend" = "opengl"; then
- OPENGL_LIBS="-lGL -ldl"
+ OPENGL_LIBS="-lGL $DLOPEN_LIBS"
fi
AC_SUBST([OPENGL_LIBS])
|