Blame SOURCES/mesa-demos-as-needed.patch

a306cb
diff -up mesa-demos-8.1.0/configure.ac.jx mesa-demos-8.1.0/configure.ac
a306cb
--- mesa-demos-8.1.0/configure.ac.jx	2013-02-24 05:49:47.000000000 -0500
a306cb
+++ mesa-demos-8.1.0/configure.ac	2013-03-27 14:41:42.493936005 -0400
a306cb
@@ -267,6 +267,9 @@ cygwin*)
a306cb
     ;;
a306cb
 esac
a306cb
 
a306cb
+dnl i am somewhat surprised this works
a306cb
+DEMO_LIBS="-Wl,--as-needed $DEMO_LIBS"
a306cb
+
a306cb
 AC_SUBST([DEMO_CFLAGS])
a306cb
 AC_SUBST([DEMO_LIBS])
a306cb
 AC_SUBST([EGL_CFLAGS])