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

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