mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-02-24 02:00:40 +01:00
Protect code using dlfcn.h with CAIRO_HAS_DLSYM
This commit is contained in:
parent
3f32419257
commit
9fcbe25c2d
2 changed files with 5 additions and 0 deletions
|
|
@ -52,6 +52,7 @@ AM_CONDITIONAL(CAIRO_HAS_DL, test "x$have_dl" = "xyes")
|
|||
if test "x$have_dlsym" = "xyes"; then
|
||||
AC_DEFINE([CAIRO_HAS_DLSYM], 1, [Define to 1 if dlsym is available])
|
||||
fi
|
||||
AM_CONDITIONAL(CAIRO_HAS_DLSYM, test "x$have_dlsym" = "xyes")
|
||||
|
||||
dnl ===========================================================================
|
||||
|
||||
|
|
|
|||
|
|
@ -12,20 +12,24 @@ endif
|
|||
|
||||
if CAIRO_HAS_TRACE
|
||||
SUBDIRS += cairo-trace
|
||||
if CAIRO_HAS_DLSYM
|
||||
if CAIRO_HAS_SCRIPT_SURFACE
|
||||
if CAIRO_HAS_TEE_SURFACE
|
||||
SUBDIRS += cairo-fdr
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
if BUILD_SPHINX
|
||||
if CAIRO_HAS_DLSYM
|
||||
if CAIRO_HAS_SCRIPT_SURFACE
|
||||
if CAIRO_HAS_TEE_SURFACE
|
||||
SUBDIRS += cairo-sphinx
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
AM_CPPFLAGS = -I$(top_srcdir)/src \
|
||||
-I$(top_builddir)/src \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue