Declare a private dependency on libdl.

The new linker requires that the consumers of a library link against
the libraries that that library depends on, which is supported by
Libs.private.

Fixes #16
macos/v1.5.9
Eric Anholt 11 years ago
parent 12ef9dcf2d
commit f6e91a7e86
  1. 3
      configure.ac
  2. 1
      epoxy.pc.in

@ -106,6 +106,9 @@ fi
AM_CONDITIONAL(HAS_ZNOW, test x$has_znow = xyes)
AC_CHECK_LIB([dl], [dlopen], [DLOPEN_LIBS="-ldl"])
AC_SUBST([DLOPEN_LIBS])
case $host_os in
mingw*)
# visibility flags aren't supported for windows DLLs, and the

@ -8,3 +8,4 @@ Description: epoxy GL dispatch Library
Version: @PACKAGE_VERSION@
Cflags: -I${includedir}
Libs: -L${libdir} -lepoxy
Libs.private: @DLOPEN_LIBS@

Loading…
Cancel
Save