]> git.pld-linux.org Git - packages/crossmingw32-cairo.git/commitdiff
- adjusted mingw32 patch not to include gl as pkgconfig dependency
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 13 Nov 2018 19:49:08 +0000 (20:49 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Tue, 13 Nov 2018 19:49:08 +0000 (20:49 +0100)
cairo-mingw32.patch

index 6a5eb17a5f2afd257f9cfd78668803c1e85729aa..e3a43b944bf5ce51f998034555b514066dcb8a97 100644 (file)
  #define hypot _hypot
 --- cairo-1.16.0/configure.ac.orig     2018-10-21 16:21:17.304355378 +0200
 +++ cairo-1.16.0/configure.ac  2018-10-21 17:09:07.484322608 +0200
-@@ -334,7 +334,11 @@
+@@ -334,7 +334,12 @@
          AC_CHECK_HEADER(GL/gl.h,, [use_gl="no (gl.pc nor OpenGL headers not found)"])
          if test "x$use_gl" = "xyes"; then
              gl_NONPKGCONFIG_CFLAGS=
 +            if test "x$have_windows" = xyes; then
 +                    gl_NONPKGCONFIG_LIBS="-lopengl32"
++                    gl_REQUIRES=
 +            else
              gl_NONPKGCONFIG_LIBS="-lGL"
 +            fi
This page took 0.117957 seconds and 4 git commands to generate.